Skip to content

Access DBnomics data series from R. THIS IS A MIRROR REPO, GO TO

Notifications You must be signed in to change notification settings

dbnomics/rdbnomics

Repository files navigation

rdbnomics

CRAN_Status_Badge pipeline status status

DBnomics R client

This package provides you access to DBnomics data series. DBnomics is an open-source project with the goal of aggregating the world's economic data in one location, free of charge to the public. DBnomics covers hundreds of millions of series from international and national institutions (Eurostat, World Bank, IMF, ECB, ...).

To use this package, you have to provide the codes of the provider, dataset and series you want. You can retrieve them directly on the website. You have access to the API through this link and the documentation is here.

DBnomics is hosted on its own gitlab platform. However, in order to install the package more easily, we created a mirror of this package on github.

To install rdbnomics from CRAN:

install.packages("rdbnomics")
library(rdbnomics)

To install rdbnomics from github:

remotes::install_github("dbnomics/rdbnomics", build_vignettes = TRUE, force = TRUE)
library(rdbnomics)

After installation, a vignette is available to the user with:

  • many examples,
  • how to configure a proxy,
  • how to use default R internet connection,
  • transform time series with filters,
  • ...

Just follow the link rdbnomics or run:

vignette("rdbnomics")

A lot of examples are available in the functions' documentations:

?rdb
?rdb_datasets
?rdb_dimensions
?rdb_series
?rdb_providers
?rdb_last_updates
?rdb_to_xts
?rdb_rename_xts

P.S.

Visit https://db.nomics.world/ !