get_dataset | R Documentation |
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,
...
)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.