Download 23/replication_package/Code/replicate_table_A7.R from chuxuan/REPRO-Bench: direct link, hf CLI and curl.
- Browser
- Download file 526 Bytes
-
https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A7.R
- Command line
-
hf download hf://datasets/chuxuan/REPRO-Bench/23/replication_package/Code/replicate_table_A7.R
-
curl -L -o replicate_table_A7.R https://huggingface.co/datasets/chuxuan/REPRO-Bench/resolve/main/23/replication_package/Code/replicate_table_A7.R
526 Bytes
| ##--##--##--##--##--##--## | |
| ## Appendix: Table A7 | |
| ##--##--##--##--##--##--## | |
| us_wave1_sumstats = us_survey_wave1[,c("age", "female", "education", "income", "partyID", "ideology", "interest_politics", | |
| "degree_violence", "police_action_required", "recall_violence2", "race")] | |
| us_wave1_sumstats = dummy_cols(us_wave1_sumstats, select_columns = c("education", "income", "partyID", "ideology", "race")) | |
| stargazer(us_wave1_sumstats, omit.summary.stat=c("p25", "p75"), out="Tables/table_A7.tex") |