R code for Angrist & Pischke Mastering Metrics
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
docs
masteringmetrics
.Rbuildignore
.gitignore
.lintr
.remarkrc
LICENSE
NHIS2009.Rmd
README.md
WORDLIST
_after.R
_bookdown.yml
_common.R
_output.yaml
ak91.Rmd
banks.Rmd
ch1.Rmd
ch3.Rmd
ch4.Rmd
ch5.Rmd
ch6.Rmd
child-labor.Rmd
download.R
index.rmd
masteringmetrics.bib
mdve.Rmd
mlda-dd.Rmd
mlda-rd.Rmd
mm.Rproj
package-lock.json
package.json
rand.Rmd
references.Rmd
sheepskin.Rmd
twins.Rmd

README.md

R Code for Mastering 'Metrics (Angrist and Pischke)

This repository R code and text for R Code for Mastering 'Metrics, which contains the R code to reproduce the analyses in Mastering 'Metrics by Joshua D. Angrist and Jörn-Steffen Pischke.

The site is built using the bookdown package.

Build

To render the book, run the following in R,

render_book("index.Rmd")

To lint R code run

Rscript _lint.R

To check spelling run

Rcript _spelling.R

To lint markdown, install remark and various plugins for it.

$ npm install remark-preset-lint-recommended remark-preset-lint-consistent remark-preset-lint-markdown-style-guide remark-frontmatter
$ remark *.Rmd