read_lotek | R Documentation |
This function takes one or more lotek txt files and turns them into an sf collection of points. If there are multiple versions of the same fix record, duplicates will be removed by default. Only the duplicate from the most recent file is kept.
read_lotek(files, ids = NULL, remove_duplicates = TRUE, show_col_types = FALSE)
files |
Input files. This can be a path to a single file, a character vector of paths to multiple files, or a list of paths to multiple files. |
ids |
the device id #s. by default this comes from the filename. Note that shiny file input will change filenames, so this field must be used in that case. |
remove_duplicates |
if 'FALSE', duplicate records are included in the output |
show_col_types |
Passed to readr functions. Useful for debugging. |
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 |
points = read_lotek(system.file("lotek/PinPoint33452.txt", package="beastr")) summary(points)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.