check_pop_data {serocalculator} | R Documentation |
Check the formatting of a cross-sectional antibody survey dataset.
check_pop_data(pop_data)
pop_data |
dataset to check |
NULL (invisibly)
library(dplyr)
# Import cross-sectional data from OSF and rename required variables
xs_data <- load_pop_data("https://osf.io/download//n6cp3/") %>%
clean_pop_data() %>%
check_pop_data()