series | R Documentation |
This function pulls and returns a table called 'SERIES' from the database.
series(dsid = NULL, dataset.info = TRUE, ordered = TRUE, return.query = FALSE)
dsid |
character. (Optional) id's of datasets matching the 'DSID' column of the 'DATASET' table (retrieved using |
dataset.info |
logical. |
ordered |
logical. |
return.query |
logical. |
The 'SERIES' table gives information about all of the time series in the database. Each series is given a code which is however not unique across datasets (see .IDvars
).
Each series also has a label describing the series. Further information recorded are the minimum and maximum time coverage, and (optionally) a separate series source and url.
By default dataset.info = TRUE
and the frequency of the data, the date when the dataset containing the series was last updated, the dataset and data source are added to the
'SERIES' table from the 'DATASET' table.
If dataset.info = FALSE
, the 'DATASET' table is not joined to the 'SERIES' table, and ordered = TRUE
only orders the series within each dataset to maintain the column order of series in the source data.
In that case the datasets are returned in alphabetic order of 'DSID', not the order in which they were entered into the 'DATASET' table.
A data.table
with information about the available time series in the database.
datasets
, ugatsdb
# By default returns all series with additional information series() # Raw series table series(dataset.info = FALSE) # Only series in the Monthly Macroeconomic Indicators of the BoU series("BOU_MMI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.