get_locations: Get information about available locations (LocID)

Description Usage Arguments Examples

View source: R/GetInformation.R

Description

Get information about available locations (LocID)

Usage

1
get_locations(save_file = FALSE, ...)

Arguments

save_file

Logical. Choose whether or not to save the data in an external .Rdata file in the working directory. Default: FALSE.

...

Other arguments that might define the path to data. All arguments accept a numeric code which is interpreted as the code of the specific product requested. Alternatively, you can supply the equivalent product name as a string which is case insensitive (see examples). Handle with care, this is important! For a list of all options available, see the parameters for each endpoint at https://popdiv.dfs.un.org/Demodata/swagger/ui/index#/

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
L <- get_locations(
  addDefault = "false",
  includeDependencies = "false",
  includeFormerCountries = "false"
)
L

## End(Not run)

timriffe/DDSQLtools documentation built on Oct. 6, 2021, 5:34 p.m.