read_API: Download data

Description Usage Arguments

View source: R/GetInformation.R

Description

Download data

Usage

1
read_API(type, save_file, verbose = FALSE, ...)

Arguments

type

Type of data. Various options are available.

save_file

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

verbose

Logical for whether to print the final translated call to numeric arguments. If the translation of arguments take a lot of time, it can have a substantial reduction in timing. This only makes sense if the user provided values as strings which need translation (such as a country name like 'Haiti' rather than its actually country code).

...

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#/


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