sp_get_dataset_doc: Get dataset documentation

View source: R/datasets.R

sp_get_dataset_docR Documentation

Get dataset documentation

Description

Downloads XLS file with dataset documentation, or opens link to this file in browser.

Usage

sp_get_dataset_doc(dataset_id, dest_dir = NULL, download = TRUE)

Arguments

dataset_id

dataset ID. See sp_datasets.

dest_dir

character. Directory in which downloaded files will be stored. If left unset, will use the statnipokladna.dest_dir option if the option is set, and tempdir() otherwise. Will be created if it does not exist.

download

Whether to download (the default) or open link in browser.

Value

(invisible) path to file if download = TRUE, URL otherwise

See Also

Other Utilities: sp_get_codelist_viewer()

Examples

## Not run: 
sp_get_dataset_doc("finm")

## End(Not run)

statnipokladna documentation built on Sept. 11, 2024, 8:08 p.m.