Learn R Programming

statnipokladna (version 0.7.4)

get_codelist: Deprecated: Get codelist

Description

Deprecated: use sp_get_codelist()

Usage

get_codelist(codelist_id, n = NULL, dest_dir = NULL, redownload = FALSE)

Value

A tibble

Arguments

codelist_id

A codelist ID. See id column in sp_codelists for a list of available codelists.

n

Number of rows to return. Default (NULL) means all. Useful for quickly inspecting a codelist.

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.

redownload

Redownload even if file has already been downloaded? Defaults to FALSE.

Details

[Deprecated]

See Also

Other Core workflow: add_codelist(), sp_add_codelist(), sp_get_codelist(), sp_get_dataset(), sp_get_table()