Introduction to R packages that will be useful for Data Science for Social Good projects
- R: This is the software that handles data manipulation, analysis, and visualization. Download a copy here.
- RStudio: This is an integrated development environment (that is, it brings the source code, output screen, debugging tools, etc. together). It provides an attractive, manipulable, easy-to-use interface to R. Download a copy here.
R likes CSVs and tab-delimited files, but some of your partners will share their data in other formats. R has many packages to read other data formats. I provide examples for several in the code:
- foreign:
- sas7bdat:
- sqldf: http://files.meetup.com/1625815/crug_sqldf_05-01-2013.pdf
- XML:
- rjson:
xlsx
- Amelia II
Two main functions:
- qplot(): quick plots
- ggplot(): control of details
Additional resources: Tables2Graphs
mlr
cross validation
apsrtable knittr
Python wrappers?
Copyright (C) 2014 Data Science for Social Good Fellowship at the University of Chicago
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.