Check the data files and measure info of source projects.
Usage
pophive_check_sources(
names = list.dirs("data", recursive = FALSE, full.names = FALSE),
source_dir = "data",
verbose = TRUE
)
Value
A list with an entry for each source, containing a character vector including any issue codes:
not_compressed
: The file does not appear to be compressed.cant_read
: Failed to read the file in.geography_missing
: File does not contain ageography
column.geography_nas
: The file'sgeography
column contains NAs.time_missing
: File does not contain atime
column.time_nas
: The file'stime
column contains NAs.missing_info: {column_name}
: The file's indicated column does not have a matching entry inmeasure_info.json
.