meta_clean_logs: Run 'clean_logs()' on the output from 'clean_metadata()'

View source: R/clean_logs.R

meta_clean_logsR Documentation

Run clean_logs() on the output from clean_metadata()

Description

Run clean_logs() on the output from clean_metadata()

Usage

meta_clean_logs(meta)

Arguments

meta

Data frame. meta data processed in add_sites()

Value

Data frame containing

  • file_names and paths of the log files

  • events and their date_times

  • lat and lon for "gps" events

  • rec_file, rec_size and rec_end for "recording" events (recording start is the date_time of the event)

  • schedule information such as schedule_date, schedule_name, schedule_lat, schedule_lon, schedule_sr (sunrise), and schedule_ss (sunset)

  • metadata information such as meta_serial and meta_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+" )

  logs <- meta_clean_logs(m)

ARUtools documentation built on Oct. 9, 2024, 1:07 a.m.