select_insee_index() retrieves series IDs from a correspondence file and a
list of INSEE series, allowing for selection based on specified categories.
It merges data from the correspondence file with the INSEE list to extract
relevant IDs, and combines them with global indices for production cost
updates.
Usage
select_insee_index(correspondance, insee_list, selection = NULL)
Arguments
- correspondance
data.frame, correspondence between categories and
series IDs.
- insee_list
list of data frames, where each data frame represents a
category of INSEE series.
- selection
character, categories to select. If NULL, all categories
are selected based on names(insee_list).
Value
A list of named vectors, where each vector contains the series IDs
for a specific category.