View source: R/retrieve-pds-data.R
retrieve_pds_trips_data | R Documentation |
Download pelagic data system trips in as csv or json
retrieve_pds_trips_data(
path,
secret = NULL,
token = NULL,
start_date = NULL,
end_date = NULL,
overwrite = TRUE
)
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. |
The file path
retrieve_pds_trips_data("test.csv")
file.remove("test.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.