Run clean_logs()
on the output from clean_metadata()
Arguments
- meta
Data frame.
meta
data processed inadd_sites()
Value
Data frame containing
file_name
s andpath
s of the log filesevent
s and theirdate_time
slat
andlon
for "gps" eventsrec_file
,rec_size
andrec_end
for "recording" events (recording start is thedate_time
of the event)schedule
information such asschedule_date
,schedule_name
,schedule_lat
,schedule_lon
,schedule_sr
(sunrise), andschedule_ss
(sunset)meta
data information such asmeta_serial
andmeta_firmware
other columns from meta provided
Examples
file_vec <- fs::dir_ls(fs::path_package("extdata", package = "ARUtools"), recurse = TRUE,)
m <- clean_metadata(project_files = file_vec, file_type = 'json',pattern_site_id = "000\\d+" )
#> Extracting ARU info...
#> Extracting Dates and Times...
#> ! Omitted 1 extra, non-json/GPS files
#> ! Detected 2 log files
logs <- meta_clean_logs(m)