R Project for Statistical Computing
Exploring CRAN downloads in 2018 and 2019
This task involves reading real-world data and obtaining useful summaries about R and package dowloads over time.
The R-Hub cranlogs API is a very simple API to query using a web browser or R. You can read more about this API here: https://github.com/r-hub/cranlogs.app
Using R: install the jsonlite
R package.
Example 1 - For R package downloads: jsonlite::fromJSON("https://cranlogs.r-pkg.org/downloads/total/2014-01-01:2014-06-01")
Example 2 - For Base R downloads: https://cranlogs.r-pkg.org/downloads/total/2014-01-01:2014-06-01/R
This task involves:
- Using this API to obtain data for total R package downloads for 2018 and 2019.
- Using this API to obtain data for total Base R downloads for 2018 and 2019.
- Visualizing R package downloads for 2018 and 2019
- Visualizing total base R downloads for 2018 and 2019
- Storing the results of 1 and 2 above in a single CSV file - one record for each year.
- Compute (in percentage) the increase of base R downloads and R package downloads from 2018 to 2019
- Provide a month-by-month comparison of R package downloads for 2018 and 2019 in a CSV table (visualization can added but is optional)
Task tags
Students who completed this task
ZeroDawn.0D, programmingwizard