Download Package `installr`
Transcript
format_RStudio_CRAN_data 21 format_RStudio_CRAN_data Format the RStudio CRAN mirror data into the data.table format Description This function makes sure the the RStudio CRAN mirror data object has correct classes for the columns date, package, country. It also adds the columns weekday and week. Lastly, it also sets a key. Usage format_RStudio_CRAN_data(dataset, ...) Arguments dataset the RStudio CRAN mirror data object ... not in use. Details RStudio maintains its own CRAN mirror, http://cran.rstudio.com and offers its log files. Value Returns the re-formated data object. Author(s) Felix Schonbrodt, Tal Galili Source http://www.nicebread.de/finally-tracking-cran-packages-downloads/ See Also download_RStudio_CRAN_data, read_RStudio_CRAN_data,barplot_package_users_per_day Examples ## Not run: # The first two functions might take a good deal of time to run (depending on the date range) RStudio_CRAN_data_folder <download_RStudio_CRAN_data(START = '2013-04-02', END = '2013-04-05') # around the time R 3.0.0 was released my_RStudio_CRAN_data <- read_RStudio_CRAN_data(RStudio_CRAN_data_folder)