
Read INSEE Series Data
read_insee_serie.Rdread_insee_serie() reads INSEE series data from a csv2 file, typically
downloaded from the INSEE BDM database.
It handles data.frames with a specific format (skip first 3 lines).
Value
A data frame with one column named "value" containing the series data. If multiple files are provided as a vector, a list of data frames is returned.
Examples
if (FALSE) { # \dontrun{
# Read a single file
download_insee_index("010538819", verbose = TRUE)
series_data = read_insee_serie(file.path(tempdir(), "010538819.csv"))
# Read multiple files
download_insee_index(c("010538819", "010776418"), verbose = TRUE)
series_list = read_insee_serie(
file.path(tempdir(), c("010538819.csv", "010776418.csv"))
)
} # }