if (FALSE) {
# Create and configure dataset
ds <- istat_dataset("139_176")
ds <- set_filters(ds,
FREQ = "M",
TIPO_DATO = c("ISAV", "ESAV"),
PAESE_PARTNER = "WORLD"
)
# Get all data
data <- get_data(ds)
# Get data for a specific time range
data <- get_data(ds, start_period = "2020-01-01", end_period = "2023-12-31")
# Get only the last 12 observations
data <- get_data(ds, last_n_observations = 12)
}
Run the code above in your browser using DataLab