clean_store_batch: Cleans a directory of animal data files and stores them...

Description Usage Arguments Value

View source: R/data_storage.R

Description

Cleans a directory of animal data files and stores them locally in rds format

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
clean_store_batch(
  data_info,
  filters = TRUE,
  zoom = 11,
  get_slope = TRUE,
  get_aspect = TRUE,
  min_lat = data_info$min_lat,
  max_lat = data_info$max_lat,
  min_long = data_info$min_long,
  max_long = data_info$max_long,
  tz_in = "UTC",
  tz_out = "UTC"
)

Arguments

data_info

list of animal data frames with information about the data, generated by store_batch

filters

filter bad data points, defaults to true

zoom

level of zoom, defaults to 11

get_slope

logical, whether to compute slope (in degrees), defaults to true

get_aspect

logical, whether to compute aspect (in degrees), defaults to true

min_lat

minimum latitude for filtering, defaults to min in data_info

max_lat

maximum latitude for filtering, defaults to max in data_info

min_long

minimum longitude for filtering, defaults to min in data_info

max_long

maximum longitude for filtering, defaults to max in data_info

tz_in

input time zone, defaults to UTC

tz_out

output time zone, defaults to UTC

Value

df of metadata for animal file directory


animaltracker documentation built on Nov. 18, 2020, 1:08 a.m.