As a self-taught R user, I am deeply indebted to the R community for making code samples and interesting datasets publicly available. In order to pay it forward, I use this page to (1) provide the data/code behind my content^[Please don't judge 2015-me too much.] and (2) list some incredible resources that I frequently use.
I hope all the below helps you to build/write/create stuff! Remember that with coding, practice makes perf… better.
(1) Resources from me to you
In general, my project materials are available as Github repos. My R notebooks are also published via my RPubs page.^[While my Github repos will include the .Rmd
files for R notebooks, I also share notebooks as published through RPubs since they are easier to read in that format. Example: here is a Rmd
file on Github, here is the same notebook on RPubs.]
Blog Project Resources^[I also link to relevant repositories and notebooks at the bottom of all my blog posts.]
Data-driven
- Connecticut pretrial inmates [descriptives]
- Connecticut pretrial inmates [over time]
- Cat/Dog names and ages
- Google searches & historical KKK locations
- iMessage data
- rendered R notebook here
- U.N. Speeches
- Senate votes on healthcare
- Podcast trends
- Philly Open Data
- code & data here
- Boston vs SF temperatures
- code here
- Representation in the sciences
- Illinois Trump delegates
- code & data here
- Stanford university classes
- aggregated code & data here
- Pixar movie ratings
- code & data here
- New Yorker caption contest winners
- Uber and Taxi drivers
- Friday the 13th patterns
- code & data here
- Sports Illustrated covers 2010-2015
- code & data here
- Oscars speeches 2010-2014
- code & data here
- Friends TV show friendships
- Serial podcast opinion polls
- code & data here
Theory
- Graphing (ego) utility
- rendered R notebook here
- Extensive form diagrams (for ultimate frisbee-inspired game theory)
- code here
Websites
- Code for my website (the one you're on right now) is available here
- Code for the Harvard GWE website is available here
Academic CV
(2) Resources from others to you
Finding fun datasets
- Data is Plural newsletter: sign-up here & structured archive here
- FlowingData newsletter [here] (https://flowingdata.us2.list-manage.com/subscribe?u=f538bce868aac1144d248c0bc&id=71ef3cfa3a)
- 538‘s data & code here
- The Pudding data & code here
#TidyTuesday
datasets here
Data visualization methods
R tips and content
- R for Data Science book here
- RStudio Community here (essentially, StackOverflow but all R)
- R-Ladies Community
- content via
@WeAreRLadies
- find an R-Ladies meetup here
- content via
- Follow
#rstats
on Twitter
Data science for economists (lots of R!)
- Incredible materials from Grant McDermott here
R blogdown
websites
- Official
blogdown
book here - Alison Hill‘s blog post here
- My blog post here
Using version control
- Frank Pinter‘s slides here
- Grant McDermott‘s slides here
Organizing R projects
- Angela Li‘s Twitter thread here
- Lucy D'Agostino McGowan‘s post here