Description Usage Arguments Details Value Examples
View source: R/get_insee_dataset.R
Get dataset from INSEE BDM database
1 2 3 4 5 6 7 8 9 10 |
dataset |
dataset name to be downloaded |
startPeriod |
start date of data |
endPeriod |
end date of data |
firstNObservations |
get the first N observations for each key series (idbank) |
lastNObservations |
get the last N observations for each key series (idbank) |
includeHistory |
boolean to access the previous releases (not available on all series) |
updatedAfter |
starting point for querying the previous releases (format yyyy-mm-ddThh:mm:ss) |
filter |
Use the filter to choose only some values in a dimension. It is recommended to use it for big datasets. A dimension left empty means all values are selected. To select multiple values in one dimension put a "+" between those values (see example) |
Get dataset from INSEE BDM database
a tibble with the data
1 2 3 4 5 6 7 8 9 | insee_dataset = get_dataset_list()
idbank_ipc = get_idbank_list("IPC-2015")
#example 1
data = get_insee_dataset("IPC-2015", filter = "M+A.........CVS..", startPeriod = "2015-03")
#example 2
data = get_insee_dataset("IPC-2015", filter = "A..SO...VARIATIONS_A....BRUT..SO",
includeHistory = TRUE, updatedAfter = "2017-07-11T08:45:00")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.