7

I love and play a lot with the Baseball data package for R (Lahman), and I was wonder if there is anything like it but for more oriented to social sciences. Either surveys or admin data (PSID, HRS, ARF, NLSY, ACS) would be great.

I would appreciate any pointers.

4 Answers 4

7

Here is a human-friendly list of all 731 datasets in R, as well as CSV download links.

2

Two suggestions:

(1) Check out the WebTechnologies Task View, which contains a bunch of packages linking to (potentially) open data on the web. In most cases, these packages will give you a list or data.frame structure you can work with.

(2) Take a quick glance through the list of CRAN packages, some of which are data-only or at least contain small datasets for their examples. For example, Hadley Wickham has some data only packages (fueleconomy, and hflights) but neither are strictly social science. HistData has datasets used in famous visualizations. pdfetch can retrieve economic time-series. Etc. etc.

1
  • 1
    Also worth calling out the (standard) datasets package, the acs package, and the Zelig package. Commented Sep 17, 2014 at 20:52
1

Have a look at the mlbench package: "A collection of artificial and real-world machine learning benchmark problems, including, e.g., several data sets from the UCI repository."

1

You should also check out RSocrata which lets you list and download any public dataset from governments throughout the country that leverage Socrata for their Open Data Portals.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.