R
data.table
more general materials
- Grant McDermott’s data.table slides. These are from GM’s Big Data in Economics course at UOregan. I haven’t checked them out, but they look super useful. For instance, he goes over how to use
keys
, which seems to speed things up quite a bit. - Introduction to data.table.
- data.table GitHub page. Includes more vignettes and examples.
- Advanced tips and tricks with data.table.
- Nice example of data.table code. From Zillow’s ZTRAX GitHub repo.
Plotting
- How to plot the proportion of a variable across categories For example, plotting the distribution of housing investors across income quintiles in the SCF.
General
- Grant McDermott’s Big Data in Economics course repo. Seems potentially useful. In fact, McDermott’s GitHub page is full of R goodies; e.g. Introduction to R.
- Ed Rubin’s graduate metrics course repo. PhD-level metrics course taught in R.