Appendix A: Using Datamarket
DeWayne R. Derryberry · 2014
A.1 OVERVIEWDataMarket provides a library and package that they have created for exporting data into the R environment.In order to use this package with the library, the user needs to put the following commands into R at the beginning of a session: install.packages("rdatamarket")library(rdatamarket)The above code will download the "rdatamarket" package and library.It requires about 3.6 megabytes.When the user runs the above code in the R environment, the prompt as shown in Figure A.1 will appear.If the user presses cancel (after the commands cited above), the R code will try to perform the task without the latest updates.A full list of the commands and functions that the "rdatamarket" package adds can be found at http://cran.r-project.org/web/packages/rdatamarket/rdatamarket.pdfThis code is necessary if the user desires to export data from DataMarket to R. CRAN stands for Comprehensive R Archive Network.A CRAN mirror a site that contains the latest updates, versions, etc., of R.If the user desires to select a CRAN mirror, it is advised that a nearby location be selected.For additional information regarding CRAN the user should