Skip to contents

Check the formatting of a cross-sectional antibody survey dataset.

Usage

check_pop_data(pop_data, verbose = FALSE)

Arguments

pop_data

dataset to check

verbose

whether to print an "OK" message when all checks pass

Value

NULL (invisibly)

Examples

library(dplyr)
xs_data <- readr::read_rds("https://osf.io/download//n6cp3/") %>%
  as_pop_data()
check_pop_data(xs_data, verbose = TRUE)
#> data format is as expected.