Closed thomasdouenne closed 7 years ago
When applying to 2000 the function that translates variable names, it works. We need to check everything is done correctly. When applying it to 2005, it raises an error. 'c05316' is missing from the survey data
There might be a typo in the survey. You should investigate more upstream
There is a variable c05316 in the file Matrice passage 2005-COICOP.csv that is used to match variable names with those in BdF, but this variable is absent from BdF. This raises an assertion error. I seems Matrice passage 2005-COICOP.csv is not automatically generated but was copied, so should I directly erase this variable from the file?
No erase the variable just after reading the csv file
Ok
The script that builds consumption data (step_1_1_homogeneisation_donnees_depenses) is designed for 2011 only. When running the run_all for 2000 and 2005, consumption variables are still called poste_coicop_xxx (instead of poste_x_x_x).
We need to generalize it to include 2000 and 2005.