View source: R/cdi_processing.R
cleanup_cdi_data | R Documentation |
Checks cdi data for inconsistencies, warns about them, and fixes them
cleanup_cdi_data(cdi_data)
cdi_data |
a subjects table with unnested cdi data, needs columns "subject_id", "language", "instrument_type", "age", "sex", "measure", "rawscore" |
a cleaned up version of the cdi data
clean_cdi_data <- all_subjects %>%
unnest(subject_aux_data) %>%
filter(!is.na(cdi_responses)) %>%
unnest(cdi_responses) %>%
peekbankr::cleanup_cdi_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.