Skip to contents

This function takes a fixed-width delimited lotek txt file and turns it into an sf collection of points.

Usage

read_lotek_2_sf(
  filename,
  id = NULL,
  input_crs = 4326,
  output_crs = 32611,
  tz = "UTC",
  ingest_time = NA,
  show_col_types = FALSE
)

Arguments

filename

a lotek fixed width text file listing fixes from a collar the filename is assumed to be in the standard lotek format, with device id.

id

the device id #. by default this comes from the filename

input_crs

reference system used for interpreting coords from file

output_crs

reference system for output spatial df

tz

timezone string to convert timezone processing ``