check_problems {ARUtools} | R Documentation |
Check problems in output of clean_metadata()
Description
Cleaning metadata can take a series of tries. This function helps summarize and explore missing metadata (problems).
Usage
check_problems(
df,
check = c("site_id", "aru_id", "date", "date_time", "longitude", "latitude"),
path = FALSE,
date = FALSE
)
Arguments
df |
Data frame. Either meta data ( |
check |
Character. Character vector of columns to check for missing
values. Default is |
path |
Logical. Whether to return just the file paths which have missing
attributes. Default |
date |
Logical. Whether to summarize output by date (as well as
|
Value
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.
Examples
m <- clean_metadata(project_files = example_files, pattern_aru_id = "test")
check_problems(m)
check_problems(m, date = TRUE)
check_problems(m, path = TRUE)
[Package ARUtools version 0.6.2 Index]