get_insee_dataset {insee} | R Documentation |
Get dataset from INSEE BDM database
Description
Get dataset from INSEE BDM database
Usage
get_insee_dataset(
dataset,
startPeriod = NULL,
endPeriod = NULL,
firstNObservations = NULL,
lastNObservations = NULL,
includeHistory = NULL,
updatedAfter = NULL,
filter = NULL
)
Arguments
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) |
Details
Get dataset from INSEE BDM database
Value
a tibble with the data
Examples
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")
[Package insee version 1.1.5 Index]