get_track | R Documentation |
get_track Get survey trackline for one day (pre-processed data). Used with purrr::map to import data from all tracklines (mysticetus .csv files) from all days of a survey. Reads in survey trackline data (as .gpx from Bad Elf or .csv from Mysticetus) and formats as LINESTRING.
get_track(file_name, dir = NULL, year, month)
file_name |
Name of gpx or csv trackline file |
test <- get_track(file_name = "Track CeMoRe vessel Started at 20210920 0903435 PDT CeMoRe vessel.csv", year = 2021, month = "09")
transect_dir <- "./survey_data/tracklines/transects/gpx/2021-08/"
files <- list.files(transect_dir)
transects_sept <- purrr::map_df(files, get_track, year = 2021, month = "09")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.