lagosne_get: Retrieve LAGOSNE flat files

Description Usage Arguments Examples

View source: R/get.R

Description

Retrieve LAGOSNE flat files from EDI.

Usage

1
2
3
4
5
lagosne_get(
  version = lagosne_version(),
  overwrite = FALSE,
  dest_folder = tempdir()
)

Arguments

version

character LAGOSNE database version string

overwrite

logical overwrite existing data for the specified version

dest_folder

file.path to save data. Default to a temporary folder. Recommended to set to LAGOSNE:::lagos_path() so that data persists between R sessions.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# default to latest version
lagosne_get(dest_folder = LAGOSNE:::lagos_path())

# get previous version(s)
# - recommended to install corresponding package version
# - See 'Legacy Versions' section of the README for instructions

## End(Not run)

LAGOSNE documentation built on Nov. 29, 2020, 1:07 a.m.