https://github.com/btskinner/bb_desc_rep
Replication files for Variation in broadband access among undergraduate populations across the United States
https://github.com/btskinner/bb_desc_rep
Last synced: 10 months ago
JSON representation
Replication files for Variation in broadband access among undergraduate populations across the United States
- Host: GitHub
- URL: https://github.com/btskinner/bb_desc_rep
- Owner: btskinner
- Created: 2022-10-23T19:05:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-11T16:11:57.000Z (about 3 years ago)
- Last Synced: 2025-01-17T15:45:04.494Z (11 months ago)
- Language: R
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository contains the replication files for
> Skinner, B.T., Burtch, T., and Levy, H. (2022). Variation in
> broadband access among undergraduate populations across the United
> States. _Annenberg Institute at Brown University_ (EdWorkingPaper: 22-667). Doi: [10.26300/8a57-0r97](https://doi.org/10.26300/8a57-0r97)
## To run
Clone the project repository, `cd` into project directory, and run the `makefile`:
```bash
git clone https://github.com/btskinner/bb_desc_rep.git
cd ./bb_desc_rep
make
```
Or, after cloning the repository, run the R scripts one by one:
1. `make_data_acs.R`
1. `run_stan.R`
1. `poststratify.R`
1. `make_figures.R`
1. `make_tables.R`
Figures and tables found in the final paper can be built from
`figtab.md` after completing all scripts and running from the `docs`
directory:
``` sh
pandoc figtab.md \
--read=markdown \
--write=latex \
--output=./figtab.pdf \
--filter=pandoc-crossref \
--citeproc \
--lua-filter=linebreaks.lua
```