Title: | Search and Extract Data from the OECD |
---|---|
Description: | Search and extract data from the Organization for Economic Cooperation and Development (OECD). |
Authors: | Eric Persson [aut, cre] |
Maintainer: | Eric Persson <[email protected]> |
License: | CC0 |
Version: | 0.3.0 |
Built: | 2024-10-30 04:00:39 UTC |
Source: | https://github.com/expersso/oecd |
Returns a list of data frames containing names and descriptions of the variables of a specified series.
get_data_structure(dataset)
get_data_structure(dataset)
dataset |
A string containing the code for a dataset |
A list of data frames.
## Not run: get_data_structure("OECD.SDD.NAD.SEEA/DSD_NAT_RES@DF_NAT_RES/1.0") ## End(Not run)
## Not run: get_data_structure("OECD.SDD.NAD.SEEA/DSD_NAT_RES@DF_NAT_RES/1.0") ## End(Not run)
Returns a data frame with the requested data, downloaded through the OECD's API.
get_dataset( dataset, filter = NULL, start_time = NULL, end_time = NULL, last_n_observations = NULL, ... )
get_dataset( dataset, filter = NULL, start_time = NULL, end_time = NULL, last_n_observations = NULL, ... )
dataset |
A string with the code for the desired data set |
filter |
A character vectors specifying the filter to be applied to
each dimension of the dataset (see |
start_time |
Starting time/period for data. If left blank, no time filter is applied (i.e. all observations since the earliest available observation are downloaded). |
end_time |
End time/period for data. |
last_n_observations |
Number of most recent observations to download. |
... |
Additional parameters passed to |
A data frame
# Get entire dataset ## Not run: df <- get_dataset("OECD.SDD.NAD.SEEA/DSD_NAT_RES@DF_NAT_RES,1.0", "AUS+CAN.A....") ## End(Not run) ## Not run: head(df, 10) ## End(Not run)
# Get entire dataset ## Not run: df <- get_dataset("OECD.SDD.NAD.SEEA/DSD_NAT_RES@DF_NAT_RES,1.0", "AUS+CAN.A....") ## End(Not run) ## Not run: head(df, 10) ## End(Not run)