DBson: DBson

Description Usage Arguments Value References Examples

View source: R/DBson.R

Description

This function allows you to easily download data formated in json from DBnomics and converts it to data frame

Usage

1
DBson(slug, frequency = TRUE, source = FALSE, longtitle = FALSE)

Arguments

frequency

A boolean. If you want a frequency column in your data frame.

source

A boolean. If you want a data provider column in your data frame.

longtitle

Exhaustive description of your data

"slug"

A string. The slug provided on dbnomics. You can provide multiple slugs in list format.

Value

A long data frame with at least 3 columns: time values var

References

https://db.nomics.world/

Examples

1
2
# Download USA GDP from OECD's Economic Outlook
DBson("oecd-eo-usa-gdp-q")

SuperMayo/R.nomics documentation built on May 28, 2019, 3:16 p.m.