Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrnold/masteringmetrics
R code for Angrist & Pischke Mastering Metrics
https://github.com/jrnold/masteringmetrics
econometrics r
Last synced: 23 days ago
JSON representation
R code for Angrist & Pischke Mastering Metrics
- Host: GitHub
- URL: https://github.com/jrnold/masteringmetrics
- Owner: jrnold
- License: mit
- Created: 2017-03-21T21:05:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T08:06:38.000Z (over 1 year ago)
- Last Synced: 2024-08-03T06:03:26.812Z (3 months ago)
- Topics: econometrics, r
- Language: R
- Homepage: https://jrnold.github.io/masteringmetrics
- Size: 30.7 MB
- Stars: 75
- Watchers: 6
- Forks: 35
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# R Code for Mastering 'Metrics (Angrist and Pischke)
This repository R code and text for [R Code for Mastering 'Metrics](https://jrnold.github.io/masteringmetrics/), 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](https://bookdown.org/yihui/bookdown/) package.
## Build
To render the book, run the following in R,
``` r
render_book("index.Rmd")
```To lint R code run
``` console
Rscript _lint.R
```To check spelling run
``` console
Rcript _spelling.R
```To lint markdown, install remark and various plugins for it.
``` console
$ npm install remark-preset-lint-recommended remark-preset-lint-consistent remark-preset-lint-markdown-style-guide remark-frontmatter
```
``` console
$ remark *.Rmd
```