Construct Argo paths and URLs

argo_url(path)

Arguments

path

A path relative to the root directory of argo_mirror() or argo_cache_dir(). This value can also be a data.frame with a file column (e.g., a global index as returned by argo_global_meta() and others).

Value

A full URL according to the current argo_mirror()and path.

Examples

argo_url("ar_index_global_prof.txt.gz")
#> [1] "https://data-argo.ifremer.fr/ar_index_global_prof.txt.gz"