idmc_get_data {idmc} | R Documentation |
Get data from the IDMC API
Description
idmc_get_data()
calls the IDMC API to retrieve displacement data. The data
is converted from JSON to a data frame, date columns converted to Date
types, and returned as a tibble::tibble.
Usage
idmc_get_data(api_url = NULL)
Arguments
api_url |
URL to the IDMC API. If |
Value
Tibble of displacement data. Description of the data frame variables are included in the documentation for the IDMC IDU API. # nolint
Examples
idmc_get_data()
[Package idmc version 0.3.0 Index]