Skip to content

Conversation

@nmdefries
Copy link
Contributor

@nmdefries nmdefries commented Jan 5, 2022

Description

Since experimental wave 12 is referred to as "12.5", reading it as an integer causes a parsing problem that corrupts the codebook.

Tell readr::write_excel_csv to use minimal quotes so Wave 12.5 -> Wave 12 codebook diff is smaller.

Fix logic error in filtering w12_treatment field so that w12_treatment is included for only experimental Wave 12 ("12.5").

Changelog

  • generate-codebook.R

since experimental wave 12 is referred to as "12.5"
@nmdefries nmdefries changed the title [CTIS] Read codebook wave column as double instead of int [CTIS] Codebook improvements Jan 6, 2022
@nmdefries nmdefries requested a review from capnrefsmmat January 6, 2022 19:38
@nmdefries
Copy link
Contributor Author

@krivard This is ready to merge.

@krivard krivard merged commit 8b5982f into main Jan 10, 2022
@krivard krivard deleted the codebook-numeric-wave branch January 10, 2022 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants