Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there any external (open) data we could use to enrich the analysis? #19

Open
Ly0n opened this issue Sep 1, 2022 · 3 comments
Open

Comments

@Ly0n
Copy link
Member

Ly0n commented Sep 1, 2022

Hey @KKulma,

you asked this question in the title within you comments of the ost_analysis.ipynb notebook! I think it's worth starting a separate issue on this.The most important missing is about usage of open source projects. In combination with the analysis we already did this could help us to identify projects that are used a lot but do not have enough support. We could get this data in two way:

Dependents and Dependencies

For some programming languages GitHub integrated dependency trees into the platform. For Python and Java Script we still get this data. Here an example:
https://github.com/pvlib/pvlib-python

The data mining script extracts this data from the website, because GitHub has not integrated this data into the API. If you are interested into the data we could still plot it. We also have it for the dependencies. We could create a plot like "The most used Python dependencies used in the listed GitHub projects".

Download Statistics

Since most projects are in R and Python we could use the Package index platforms to get this data:

This package could get use the data for R:
https://github.com/GuangchuangYu/dlstats

This packages could help use get the download number from Python:
https://github.com/hugovk/pypistats
https://github.com/asadmoosvi/pypi-search

The problem is how to find out the package name via the repo URL as input?
One projects exists, that gives you that:
https://github.com/librariesio/bibliothecary

Maybe we also could regex for pip install in the README. That could be simple work around that works with most projects.
What is your opinion?

@Ly0n
Copy link
Member Author

Ly0n commented Sep 1, 2022

I was able to plot the Dependents data of the Python projects but counts for the projects with the most dependents are wrong.
The rest of the data looks good.

@KKulma
Copy link

KKulma commented Sep 1, 2022

Interesting ideas, thanks for all your leg work exploring and listing all these resources, @Ly0n ! This could definitely enrich the analysis and help identify 'meaningful' projects (those that are widely used) and show how many of them are (un)supported (although I'm guessing there's a strong positive correlation between the two). One thing to consider is: even if most projects are written in Python/R, are they actual libraries/packages? Sometimes webapps can be (and should be!) packaged but that's not a common practice at least in the R community. But this should be a quick check 👍

@Ly0n
Copy link
Member Author

Ly0n commented Sep 2, 2022

It would be very interesting to see how many projects are released as packages. I other domain like robotics is is very common to create packages with similar interfaces to improve modularity. A low level of modularity would indicate that there is very little collaboration between open source projects in this area. I have the impression that this is the case and it would be interesting to prove this with figures. Also NLP could help here a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants