retrieve_pds_trips_data: Download pelagic data system trips in as csv or json

View source: R/retrieve-pds-data.R

retrieve_pds_trips_dataR Documentation

Download pelagic data system trips in as csv or json

Description

Download pelagic data system trips in as csv or json

Usage

retrieve_pds_trips_data(
  path,
  secret = NULL,
  token = NULL,
  start_date = NULL,
  end_date = NULL,
  overwrite = TRUE
)

Arguments

path

String with path to file where API request should be saved

secret

Access secret code for the account

token

Access token for the account

start_date

Start date from which download trips information

end_date

Last date to download trips information

overwrite

Will only overwrite existing path if TRUE.

Value

The file path

Examples

retrieve_pds_trips_data("test.csv")
file.remove("test.csv")

WorldFishCenter/peskas.timor.data.pipeline documentation built on April 14, 2025, 1:47 p.m.