retrieve_pds_tracks: Download pelagic data system tracks

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

retrieve_pds_tracksR Documentation

Download pelagic data system tracks

Description

Download pelagic data system tracks

Usage

retrieve_pds_tracks(prefix, secret, token, id)

Arguments

prefix

Name to be used as the prefix of the file names to be downloaded. Can be a path.

secret

Access secret code for the account

token

Access token for the account

id

Trip unique id from which download tracks data

Value

A character vector with paths of the downloaded files

Examples

## Not run: 
retrieve_pds_tracks(
  prefix = "my-tracks", secret = "abcXXXXXX",
  token = "123XXXXXX", id = "2327722"
)
# To download in a different path
dir.create("my-data-dir")
retrieve_pds_tracks(
  prefix = "my-data-dir/my-tracks", secret = "abcXXXXXX",
  token = "123XXXXXX", id = "2327722"
)

## End(Not run)

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