diff --git a/92-AppendixC.Rmd b/89-Appendix-DataImport.Rmd similarity index 99% rename from 92-AppendixC.Rmd rename to 89-Appendix-DataImport.Rmd index b894cf98..06728793 100644 --- a/92-AppendixC.Rmd +++ b/89-Appendix-DataImport.Rmd @@ -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 diff --git a/90-AppendixA-latex.Rmd b/90-AppendixA-latex.Rmd new file mode 100644 index 00000000..f4d7ea1b --- /dev/null +++ b/90-AppendixA-latex.Rmd @@ -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). \ No newline at end of file diff --git a/90-AppendixA.Rmd b/90-AppendixA.Rmd index 9b2c74c7..a5833f32 100644 --- a/90-AppendixA.Rmd +++ b/90-AppendixA.Rmd @@ -1,7 +1,3 @@ -\cleardoublepage - -# (APPENDIX) Appendices {-} - # ANES Derived Variable Codebook {#anes-cb} ```{r} @@ -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} diff --git a/91-AppendixB-latex.Rmd b/91-AppendixB-latex.Rmd new file mode 100644 index 00000000..c8e8e383 --- /dev/null +++ b/91-AppendixB-latex.Rmd @@ -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). \ No newline at end of file diff --git a/91-AppendixB.Rmd b/91-AppendixB.Rmd index ddd4a1d6..950ccd04 100644 --- a/91-AppendixB.Rmd +++ b/91-AppendixB.Rmd @@ -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} diff --git a/93-AppendixD-latex.Rmd b/93-AppendixD-latex.Rmd new file mode 100644 index 00000000..c6e15f75 --- /dev/null +++ b/93-AppendixD-latex.Rmd @@ -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. \ No newline at end of file diff --git a/_bookdown.yml b/_bookdown.yml index 95d01cb2..8e22467b 100644 --- a/_bookdown.yml +++ b/_bookdown.yml @@ -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 "