Skip to content

Commit

Permalink
Reorder appendix and move codebook and exercise solutions to online only
Browse files Browse the repository at this point in the history
  • Loading branch information
szimmer committed Mar 21, 2024
1 parent ecdc6db commit 608ebad
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 7 deletions.
6 changes: 5 additions & 1 deletion 92-AppendixC.Rmd → 89-Appendix-DataImport.Rmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Importing survey data into R
\cleardoublepage

# (APPENDIX) Appendices {-}

# Importing survey data into R {#importing-survey-data-into-r}

```{r}
#| label: readr-styler
Expand Down
5 changes: 5 additions & 0 deletions 90-AppendixA-latex.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ANES Derived Variable Codebook {#anes-cb}

The full codebook with the original variables is available at [https://electionstudies.org/wp-content/uploads/2022/02/anes_timeseries_2020_userguidecodebook_20220210.pdf](https://electionstudies.org/wp-content/uploads/2022/02/anes_timeseries_2020_userguidecodebook_20220210.pdf).

The ANES codebook for the data used in this book (`anes_2020` from {srvyrexploR}) is available in the online version of the book at [https://tidy-survey-r.github.io/tidy-survey-book/anes-cb.html](https://tidy-survey-r.github.io/tidy-survey-book/anes-cb.html).
8 changes: 3 additions & 5 deletions 90-AppendixA.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
\cleardoublepage

# (APPENDIX) Appendices {-}

# ANES Derived Variable Codebook {#anes-cb}

```{r}
Expand Down Expand Up @@ -163,7 +159,9 @@ make_section <- function(sec){
```

The full codebook with the original variables is available at [https://electionstudies.org/wp-content/uploads/2022/02/anes_timeseries_2020_userguidecodebook_20220210.pdf](https://electionstudies.org/wp-content/uploads/2022/02/anes_timeseries_2020_userguidecodebook_20220210.pdf)
The full codebook with the original variables is available at [https://electionstudies.org/wp-content/uploads/2022/02/anes_timeseries_2020_userguidecodebook_20220210.pdf](https://electionstudies.org/wp-content/uploads/2022/02/anes_timeseries_2020_userguidecodebook_20220210.pdf).

This is a codebook for the ANES data used in this book (`anes_2020`) from the {srvyrexploR} package.


```{r}
Expand Down
5 changes: 5 additions & 0 deletions 91-AppendixB-latex.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# RECS Derived Variable Codebook {#recs-cb}

The full codebook with the original variables is available at [https://www.eia.gov/consumption/residential/data/2020/index.php?view=microdata](https://www.eia.gov/consumption/residential/data/2020/index.php?view=microdata) - "Variable and response codebook".

The RECS codebook for the data used in this book (`recs_2020` from {srvyrexploR}) is available in the online version of the book at [https://tidy-survey-r.github.io/tidy-survey-book/recs-cb.html](https://tidy-survey-r.github.io/tidy-survey-book/recs-cb.html).
4 changes: 3 additions & 1 deletion 91-AppendixB.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ library(knitr)
data(recs_2020)
```

The full codebook with the original variables is available at [https://www.eia.gov/consumption/residential/data/2020/index.php?view=microdata](https://www.eia.gov/consumption/residential/data/2020/index.php?view=microdata) - "Variable and response codebook". This codebook includes the variables on the dataset included for download along with this book.
The full codebook with the original variables is available at [https://www.eia.gov/consumption/residential/data/2020/index.php?view=microdata](https://www.eia.gov/consumption/residential/data/2020/index.php?view=microdata) - "Variable and response codebook".

This is a codebook for the RECS data used in this book (`recs_2020`) from the {srvyrexploR} package.


```{r}
Expand Down
3 changes: 3 additions & 0 deletions 93-AppendixD-latex.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Exercise solutions {#exercise-solutions}

Exercise solutions are available in the online version of the book at https://tidy-survey-r.github.io/tidy-survey-book/exercise-solutions.html.
3 changes: 3 additions & 0 deletions _bookdown.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
book_filename: bookdown
clean: [packages.bib, bookdown.bbl]
delete_merged_file: true
rmd_files:
html: ['index.Rmd', '01-introduction.Rmd', '02-overview-surveys.Rmd', '03-understanding-survey-data-documentation.Rmd', '04-set-up.Rmd', '05-descriptive-analysis.Rmd', '06-statistical-testing.Rmd', '07-modeling.Rmd', '08-communicating-results.Rmd', '09-reproducible-data.Rmd', '10-specifying-sample-designs.Rmd', '11-missing-data.Rmd', '12-pitfalls.Rmd', '13-ncvs-vignette.Rmd', '14-ambarom-vignette.Rmd', '89-Appendix-DataImport.Rmd', '90-AppendixA.Rmd', '91-AppendixB.Rmd', '93-AppendixD.Rmd', '99-references.Rmd']
latex: ['index.Rmd', '01-introduction.Rmd', '02-overview-surveys.Rmd', '03-understanding-survey-data-documentation.Rmd', '04-set-up.Rmd', '05-descriptive-analysis.Rmd', '06-statistical-testing.Rmd', '07-modeling.Rmd', '08-communicating-results.Rmd', '09-reproducible-data.Rmd', '10-specifying-sample-designs.Rmd', '11-missing-data.Rmd', '12-pitfalls.Rmd', '13-ncvs-vignette.Rmd', '14-ambarom-vignette.Rmd', '89-Appendix-DataImport.Rmd', '90-AppendixA-latex.Rmd', '91-AppendixB-latex.Rmd', '93-AppendixD-latex.Rmd', '99-references.Rmd']
language:
label:
fig: "FIGURE "
Expand Down

0 comments on commit 608ebad

Please sign in to comment.