check_problems | R Documentation |
Cleaning metadata can take a series of tries. This function helps summarize and explore missing metadata (problems).
check_problems(
df,
check = c("site_id", "aru_id", "date", "date_time", "longitude", "latitude"),
path = FALSE,
date = FALSE
)
df |
Data frame. Either meta data ('clean_metadata()') or GPS coordinates ('clean_gps()') |
check |
Character. Character vector of columns to check for missing values. Default is 'site_id', 'aru_id', 'date', 'date_time', 'longitude' and 'latitude'. |
path |
Logical. Whether to return just the file paths which have missing attributes. Default 'FALSE' |
date |
Logical. Whether to summarize output by date (as well as 'site_id' and 'aru_id'. Default 'FALSE'. |
A data frame summarizing the metadata by site_id, aru_type, aru_id, and (optionally) by date. Presents the number of files, directories, and days worth of recordings, as well as the minimum and maximum recording times.
m <- clean_metadata(project_files = example_files, pattern_aru_id = "test")
check_problems(m)
check_problems(m, date = TRUE)
check_problems(m, path = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.