Description Usage Arguments Value Examples
Get dbnomics
1 | get_dbnomics(endpoint, slug, suffix)
|
endpoint |
a string either "providers", "datasets" or "series" |
slug |
a string name of the slug |
suffix |
a suffix. For instance "values" |
a get request
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | get_dbnomics(endpoint = "series", slug = "bis-pp-ls-q-au")
# https://api.db.nomics.world/api/v1/json/datasets/insee-cna-2010-dep-apu/values
get_dbnomics(
endpoint = "datasets",
slug = "insee-cna-2010-dep-apu",
suffix = "values")
## Not run:
library("magrittr")
get_dbnomics(
endpoint = "datasets",
slug = "insee-cna-2010-dep-apu",
suffix = "values") %>%
httr::content() %>%
magrittr::extract2("data")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.