LSMS_Library 0.2.6__py3-none-any.whl → 0.2.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,7 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
-
5
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
6
3
  import numpy as np
7
4
  import sys
8
- sys.path.append('../../_/')
9
- from uganda import age_sex_composition
10
5
 
11
6
  myvars = dict(fn='../Data/GSEC2.dta',
12
7
  HHID='HHID',
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
6
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
7
3
  import numpy as np
8
- from uganda import age_sex_composition
9
4
 
10
5
  myvars = dict(fn='../Data/GSEC2.dta',
11
6
  HHID='HHID',
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
6
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
7
3
  import numpy as np
8
- from uganda import age_sex_composition
9
4
 
10
5
  myvars = dict(fn='../Data/GSEC2.dta',
11
6
  HHID='HHID',
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
6
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
7
3
  import numpy as np
8
- from uganda import age_sex_composition
9
4
 
10
5
  myvars = dict(fn='../Data/GSEC2.dta',
11
6
  HHID='HHID',
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
6
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
7
3
  import numpy as np
8
- from uganda import age_sex_composition
9
4
 
10
5
  myvars = dict(fn='../Data/GSEC2.dta',
11
6
  HHID='HHID',
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
6
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
7
3
  import numpy as np
8
- from uganda import age_sex_composition
9
4
 
10
5
  myvars = dict(fn='../Data/gsec2.dta',
11
6
  HHID='hhid',
@@ -1,12 +1,6 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
6
- import pandas as pd
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
7
3
  import numpy as np
8
- from uganda import age_sex_composition
9
- import dvc.api
10
4
 
11
5
  myvars = dict(fn='../Data/GSEC2.dta',
12
6
  HHID='hhid',
@@ -1,11 +1,7 @@
1
1
  #!/usr/bin/env python
2
- from lsms_library.local_tools import to_parquet
3
-
4
- import sys
5
- sys.path.append('../../_/')
2
+ from lsms_library.local_tools import to_parquet, age_sex_composition
6
3
  import pandas as pd
7
4
  import numpy as np
8
- from uganda import age_sex_composition
9
5
 
10
6
  myvars = dict(fn='../Data/HH/gsec2.dta',
11
7
  HHID='hhid',
lsms_library/country.py CHANGED
@@ -16,6 +16,7 @@ warnings.filterwarnings('ignore', category=FutureWarning)
16
16
  warnings.filterwarnings('ignore', category=UnicodeWarning)
17
17
  import subprocess
18
18
  import json
19
+ from sys import stderr
19
20
 
20
21
  class Wave:
21
22
  def __init__(self, year, wave_folder, country: 'Country'):
@@ -196,35 +197,37 @@ class Wave:
196
197
  warnings.warn(f"Data scheme does not contain {request} for {self.name}")
197
198
  return pd.DataFrame()
198
199
  data_info = self.resources.get(request, None)
199
- if data_info:
200
- def check_adding_t(df):
201
- index_list = df.index.names
202
- if 't' not in index_list:
203
- if 't' not in df.columns:
204
- df['t'] = self.year
205
- final_index = ['t'] + index_list
206
- df = df.reset_index().set_index(final_index)
207
- return df
208
- def get_data(data_info_dic, mapping_info):
209
- convert_cat = (data_info_dic.get('converted_categoricals') is None)
210
- df_edit_function = mapping_info.pop('df_edit')
211
- dfs = []
212
- for file, mappings in mapping_info.items():
213
- df = df_data_grabber(f'lsms_library/countries/{self.folder}/Data/{file}', mappings['idxvars'], **mappings['myvars'], convert_categoricals=convert_cat)
214
- df = check_adding_t(df)
215
- # Oddity with large number for missing code
216
- na = df.select_dtypes(exclude=['object', 'datetime64[ns]']).max().max()
217
- if na>1e99:
218
- warnings.warn(f"Large number used for missing? Replacing {na} with NaN.")
219
- df = df.replace(na,np.nan)
220
- dfs.append(df)
221
- df = pd.concat(dfs, axis=0, sort=False)
222
200
 
223
- if df_edit_function:
224
- df = df_edit_function(df)
225
-
226
- return df
227
-
201
+ def check_adding_t(df):
202
+ index_list = df.index.names
203
+ if 't' not in index_list:
204
+ if 't' not in df.columns:
205
+ df['t'] = self.year
206
+ final_index = ['t'] + index_list
207
+ df = df.reset_index().set_index(final_index)
208
+ return df
209
+
210
+ def get_data(data_info_dic, mapping_info):
211
+ convert_cat = (data_info_dic.get('converted_categoricals') is None)
212
+ df_edit_function = mapping_info.pop('df_edit')
213
+ dfs = []
214
+ for file, mappings in mapping_info.items():
215
+ df = df_data_grabber(f'lsms_library/countries/{self.folder}/Data/{file}', mappings['idxvars'], **mappings['myvars'], convert_categoricals=convert_cat)
216
+ df = check_adding_t(df)
217
+ # Oddity with large number for missing code
218
+ na = df.select_dtypes(exclude=['object', 'datetime64[ns]']).max().max()
219
+ if na>1e99:
220
+ warnings.warn(f"Large number used for missing? Replacing {na} with NaN.")
221
+ df = df.replace(na,np.nan)
222
+ dfs.append(df)
223
+ df = pd.concat(dfs, axis=0, sort=False)
224
+
225
+ if df_edit_function:
226
+ df = df_edit_function(df)
227
+
228
+ return df
229
+
230
+ if data_info:
228
231
  # Vertical Merge dfs
229
232
  if data_info.get('dfs'):
230
233
  merge_dfs = []
@@ -249,8 +252,9 @@ class Wave:
249
252
  df = get_data(data_info, mapping_details)
250
253
 
251
254
  else:
252
- # The reason why not just simply run the python file is some data's python files have dependencies.
253
- print(f"Attempting to generate using Makefile...", flush=True)
255
+ # The reason why not just simply run the python file is some
256
+ # python files have dependencies.
257
+ print(f"Attempting to generate using Makefile...", flush=True,file=stderr)
254
258
  #cluster features in the old makefile is called 'other_features'
255
259
  # if request =='cluster_features': request = 'other_features'
256
260
  parquet_fn = self.file_path/"_"/ f"{request}.parquet"
@@ -263,10 +267,10 @@ class Wave:
263
267
  cwd_path = self.file_path.parent / "_"
264
268
  relative_parquet_path = parquet_fn.relative_to(cwd_path.parent) # Convert to relative path
265
269
  subprocess.run(["make", '../' + str(relative_parquet_path)], cwd=cwd_path, check=True)
266
- print(f"Makefile executed successfully for {self.name}. Rechecking for parquet file...")
270
+ print(f"Makefile executed successfully for {self.name}. Rechecking for parquet file...",file=stderr)
267
271
 
268
272
  if not parquet_fn.exists():
269
- print(f"Parquet file {parquet_fn} still missing after running Makefile.")
273
+ print(f"Parquet file {parquet_fn} still missing after running Makefile.",file=stderr)
270
274
  return pd.DataFrame()
271
275
 
272
276
  df = pd.read_parquet(parquet_fn)
@@ -333,7 +337,7 @@ class Country:
333
337
  self._updated_ids_cache = None
334
338
  self.wave_folder_map = {}
335
339
  if preload_panel_ids:
336
- print(f"Preloading panel_ids for {self.name}...")
340
+ print(f"Preloading panel_ids for {self.name}...",file=stderr)
337
341
  #ignore all the warnings
338
342
  with warnings.catch_warnings():
339
343
  warnings.simplefilter("ignore")
@@ -443,17 +447,19 @@ class Country:
443
447
  raise KeyError(f"{year} is not a valid wave for {self.name}")
444
448
 
445
449
 
446
- def _aggregate_wave_data(self,waves = None, method_name = None):
447
- """
448
- Aggregates data across multiple waves using a single dataset method.
449
- If the required `.parquet` file is missing, it requests `Makefile` to generate only that file.
450
+ def _aggregate_wave_data(self, waves=None, method_name=None):
451
+ """Aggregates data across multiple waves using a single dataset method.
452
+
453
+ If the required `.parquet` file is missing, it requests `Makefile` to
454
+ generate only that file.
450
455
  """
451
- if method_name not in self.data_scheme and method_name not in ['other_features', 'food_prices_quantities_and_expenditures', 'updated_ids']:
456
+ if method_name not in self.data_scheme+['other_features', 'food_prices_quantities_and_expenditures', 'updated_ids']:
452
457
  warnings.warn(f"Data scheme does not contain {method_name} for {self.name}")
453
458
  return pd.DataFrame()
454
459
 
455
460
  if waves is None:
456
461
  waves = self.waves
462
+
457
463
  def safe_concat_dataframe_dict(df_dict):
458
464
  # Get the target index name order from the first DataFrame
459
465
  reference_order = next(iter(df_dict.values())).index.names
@@ -478,11 +484,11 @@ class Country:
478
484
  warnings.warn(str(e))
479
485
  if results:
480
486
  #using safe_concat_dataframe_dict only if more than 2 not empty DataFrames
481
- non_empty_df = [df for df in results.values() if not df.empty]
482
- if len(non_empty_df) > 1:
483
- return safe_concat_dataframe_dict(results)
487
+ non_empty_df = {k:df for k,df in results.items() if not df.empty}
488
+ if len(non_empty_df) > 1: # Why not 2, per comment above?
489
+ return safe_concat_dataframe_dict(non_empty_df)
484
490
  else:
485
- return pd.concat(non_empty_df, axis=0, sort=False)
491
+ return pd.concat(non_empty_df.values(), axis=0, sort=False)
486
492
  raise KeyError(f"No data found for {method_name} in any wave of {self.name}.")
487
493
 
488
494
  def load_from_makefile(method_name):
@@ -505,10 +511,10 @@ class Country:
505
511
  make_target = '../' + str(relative_path)
506
512
 
507
513
  subprocess.run(["make", make_target], cwd=cwd_path, check=True)
508
- print(f"Makefile executed successfully for {self.name}. Rechecking for {target_path.name}...")
514
+ print(f"Makefile executed successfully for {self.name}. Rechecking for {target_path.name}...",file=stderr)
509
515
 
510
516
  if not target_path.exists():
511
- print(f"Data file {target_path} still missing after running Makefile.")
517
+ print(f"Data file {target_path} still missing after running Makefile.",file=stderr)
512
518
  return pd.DataFrame()
513
519
 
514
520
  if target_path.suffix == '.json':
@@ -546,7 +552,7 @@ class Country:
546
552
  self._panel_ids_cache = panel_ids_dic
547
553
  self._updated_ids_cache = updated_ids_dic
548
554
  else:
549
- print(f"Panel IDs not found in {self.name}.")
555
+ print(f"Panel IDs not found in {self.name}.",file=stderr)
550
556
  self._panel_ids_cache = None
551
557
  self._updated_ids_cache = None
552
558
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: LSMS_Library
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: Abstraction layer for Living Standards Measurement Survey data
5
5
  License: CC-BY-4.0
6
6
  Author: Ethan Ligon
@@ -5556,7 +5556,6 @@ lsms_library/countries/Malawi/_/food_prices_quantities_and_expenditures.py,sha25
5556
5556
  lsms_library/countries/Malawi/_/household_characteristics.py,sha256=pFfhK5OV4O5wlywaQV_UmIXaxrOotS8GGd9Mw-_9jNQ,669
5557
5557
  lsms_library/countries/Malawi/_/malawi.py,sha256=cjbPBzYkkcMTtfpmvNtUxQExcP55nvNnZCrXv0ESl3M,3521
5558
5558
  lsms_library/countries/Malawi/_/other_features.py,sha256=j68JHI6yG1KU-vWOdvwYGBVLpSXaaL6aalrnypkWLwE,431
5559
- lsms_library/countries/Malawi/_/spelling.yml,sha256=uPapxsnStSziaiCcWQ7Ydw_em1VzltSPGScPs_X5sQk,82
5560
5559
  lsms_library/countries/Malawi/var/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5561
5560
  lsms_library/countries/Mali/2014-15/Data/EACIACT_p1.dta.dvc,sha256=FIL_MF3qFQXY8gOrs09T4CLb2kSDNQZVFPqbzhSFrng,85
5562
5561
  lsms_library/countries/Mali/2014-15/Data/EACIALI_p1.dta.dvc,sha256=aqCk7r7ccWmOjXemzm3PYhVtZoVDy4kdP1MDMNxyS9M,86
@@ -9394,7 +9393,6 @@ lsms_library/countries/Togo/2018/Documentation/tgo_ehcvm1_qnr_community_excel_va
9394
9393
  lsms_library/countries/Togo/2018/Documentation/tgo_ehcvm1_qnr_household_excel_vague1.xls.dvc,sha256=sFEfHv5PKy_iC4ez3VKXRFKktNUKOGN6bgJMQcWuLNs,123
9395
9394
  lsms_library/countries/Togo/2018/Documentation/tgo_ehcvm1_qnr_household_excel_vague2.xls.dvc,sha256=25-mX1XN7sybAeSNwtVICjwRRDA_SIi6r3MvgSTQBew,124
9396
9395
  lsms_library/countries/Togo/2018/_/food_expenditures.py,sha256=SeBh5psVUOxLNkTZh_xj7XJwxOcKsvm9Ufp6JPDHM54,2862
9397
- lsms_library/countries/Togo/2018/_/food_items.json,sha256=Gi3oWPpAus3esYpsyKDaTf8BdbUMNpfDRnrxo5uLx9E,17158
9398
9396
  lsms_library/countries/Togo/2018/_/household_characteristics.py,sha256=dbB0-3rOBtc_Z2iwKf0UoGZhvfBWKr85z9fk0whZuEc,1419
9399
9397
  lsms_library/countries/Togo/2018/_/nonfood_expenditures.py,sha256=5oKZ0lORZ2byCZ-BaUgehCicx1tdaabAOdK6dOmglis,1435
9400
9398
  lsms_library/countries/Togo/2018/_/notes.org,sha256=TLbHUKht2eRuxQWbDTkmOmLWVS3yM-UusmL_ee1Hhqo,92274
@@ -9486,7 +9484,7 @@ lsms_library/countries/Uganda/2005-06/_/earnings.py,sha256=HVM6pmh6_KuKVN_Cl9MQQ
9486
9484
  lsms_library/countries/Uganda/2005-06/_/education_expenses.py,sha256=HaBLCZfr8RRlfj9rDEvPg51KOK6uxii8D7M4Lk_LbuU,1466
9487
9485
  lsms_library/countries/Uganda/2005-06/_/enterprise_income.py,sha256=dwJvipFBT9O7rjTAqZNfjSTCNp8aKeqEWLGeonzSmfc,932
9488
9486
  lsms_library/countries/Uganda/2005-06/_/food_acquired.py,sha256=nRCLTQpMhAYWIn5Cnk1iyDWlbCBpv5O6qkFr_k9g4Is,1298
9489
- lsms_library/countries/Uganda/2005-06/_/household_characteristics.py,sha256=OcGeZCE3-95qas6wCUs2R9-k88Ie7gIjRjCE4RbpAiA,522
9487
+ lsms_library/countries/Uganda/2005-06/_/household_characteristics.py,sha256=bEuqkL3dbJ_fFWvL8Henqkq-FptLv93y2uJcSC0ywzQ,454
9490
9488
  lsms_library/countries/Uganda/2005-06/_/housing.py,sha256=v5zSV9dgy_Npn-lDZKbN0FnlR83F_WtuOopVbF_qA48,757
9491
9489
  lsms_library/countries/Uganda/2005-06/_/interview_date.py,sha256=xHuabMzWPr2TR0Cwd8XFEyo6tTfd3e838WEBSQ3jolw,709
9492
9490
  lsms_library/countries/Uganda/2005-06/_/nonfood_expenditures.py,sha256=QvrsvAIaSiQK2IcLEO7a7ED5YuBVoPQ6obzahpE0oWA,450
@@ -9595,7 +9593,7 @@ lsms_library/countries/Uganda/2009-10/_/earnings.py,sha256=TLwilh2zE0WrrE8_GDKZY
9595
9593
  lsms_library/countries/Uganda/2009-10/_/education_expenses.py,sha256=HleH_Tp4gl-ksmGEX7ZCFbhy101RzsXxu1YmaA_N7AQ,1716
9596
9594
  lsms_library/countries/Uganda/2009-10/_/enterprise_income.py,sha256=5pDXZ4HrppxoDx-18Kte8UPyicCmK1w9beTB50aluUo,937
9597
9595
  lsms_library/countries/Uganda/2009-10/_/food_acquired.py,sha256=B1rGVfoQ0FGM8OTY-3howYeQbJAaC2RrdFL3EZafQU4,1337
9598
- lsms_library/countries/Uganda/2009-10/_/household_characteristics.py,sha256=uYjsQJVKVbWIFGQNUE6ihnxYkKCWkUymzqO3AWzU-0o,503
9596
+ lsms_library/countries/Uganda/2009-10/_/household_characteristics.py,sha256=bOsTlvbUINWd5cz0F6x4JGFVmDf5XCQQx7haHOo9lyY,425
9599
9597
  lsms_library/countries/Uganda/2009-10/_/housing.py,sha256=AG6KD0kmwCAN452iCdIry4A0FxaTrHlh4zhl0asRqTM,772
9600
9598
  lsms_library/countries/Uganda/2009-10/_/interview_date.py,sha256=kgzbaMhlkTONqoioA3DpiS6cKyoQyV2s_y3o-6MLXA0,694
9601
9599
  lsms_library/countries/Uganda/2009-10/_/nonfood_expenditures.py,sha256=42otdfhT7uRoH04U8IELf5huldhdqzGNFbrfd8JOzjQ,448
@@ -9717,7 +9715,7 @@ lsms_library/countries/Uganda/2010-11/_/earnings.py,sha256=TLwilh2zE0WrrE8_GDKZY
9717
9715
  lsms_library/countries/Uganda/2010-11/_/education_expenses.py,sha256=HleH_Tp4gl-ksmGEX7ZCFbhy101RzsXxu1YmaA_N7AQ,1716
9718
9716
  lsms_library/countries/Uganda/2010-11/_/enterprise_income.py,sha256=5pDXZ4HrppxoDx-18Kte8UPyicCmK1w9beTB50aluUo,937
9719
9717
  lsms_library/countries/Uganda/2010-11/_/food_acquired.py,sha256=36FXnXsRCfMkeWoApdO6P8wTKNToFdYaaCO0ilvvaYs,1311
9720
- lsms_library/countries/Uganda/2010-11/_/household_characteristics.py,sha256=uYjsQJVKVbWIFGQNUE6ihnxYkKCWkUymzqO3AWzU-0o,503
9718
+ lsms_library/countries/Uganda/2010-11/_/household_characteristics.py,sha256=bOsTlvbUINWd5cz0F6x4JGFVmDf5XCQQx7haHOo9lyY,425
9721
9719
  lsms_library/countries/Uganda/2010-11/_/housing.py,sha256=XdJpGxrC1j0SnOpPqmZxdCSkIU_5868b9pQfQIsomd4,771
9722
9720
  lsms_library/countries/Uganda/2010-11/_/interview_date.py,sha256=YikCb2DAVrC9JpCnoWnBew1dXdn4fP0kFpR2rLhRsvA,784
9723
9721
  lsms_library/countries/Uganda/2010-11/_/nonfood_expenditures.py,sha256=42otdfhT7uRoH04U8IELf5huldhdqzGNFbrfd8JOzjQ,448
@@ -9844,7 +9842,7 @@ lsms_library/countries/Uganda/2011-12/_/data_info.yml,sha256=eSaYacxLm9QvXR0s8Ut
9844
9842
  lsms_library/countries/Uganda/2011-12/_/earnings.py,sha256=TLwilh2zE0WrrE8_GDKZYNN6DwIHFcQH3VhHwwSRniY,583
9845
9843
  lsms_library/countries/Uganda/2011-12/_/enterprise_income.py,sha256=5pDXZ4HrppxoDx-18Kte8UPyicCmK1w9beTB50aluUo,937
9846
9844
  lsms_library/countries/Uganda/2011-12/_/food_acquired.py,sha256=4KYYY_vT4oAWdzS4byB3oR-optKSR7hBfnFq1RrDTNo,687
9847
- lsms_library/countries/Uganda/2011-12/_/household_characteristics.py,sha256=uYjsQJVKVbWIFGQNUE6ihnxYkKCWkUymzqO3AWzU-0o,503
9845
+ lsms_library/countries/Uganda/2011-12/_/household_characteristics.py,sha256=bOsTlvbUINWd5cz0F6x4JGFVmDf5XCQQx7haHOo9lyY,425
9848
9846
  lsms_library/countries/Uganda/2011-12/_/housing.py,sha256=QtnhLIYLJ6lM8qAwCZMajdQASktPa2Pla1lFsqQDcTw,774
9849
9847
  lsms_library/countries/Uganda/2011-12/_/interview_date.py,sha256=-h4UvOmZH2N2xapncDAt8ovWfI0m5ziy1jze5Ve-5VE,763
9850
9848
  lsms_library/countries/Uganda/2011-12/_/nonfood_expenditures.py,sha256=_soPiL1ZELsF7rz5Q5TUKc3yq0aMuTQOFkWB3eJdU9s,450
@@ -9979,7 +9977,7 @@ lsms_library/countries/Uganda/2013-14/_/earnings.py,sha256=DsLKK0pBuxGCkL2jfnC2X
9979
9977
  lsms_library/countries/Uganda/2013-14/_/education_expenses.py,sha256=8_IW2QLZ6274J2kBTUT7igyKveYaooMdGZ1NoeCUKzY,1869
9980
9978
  lsms_library/countries/Uganda/2013-14/_/enterprise_income.py,sha256=snR7wTULgwnOyqXC2agndhvi9w4V1F95pnF1w-p5o4k,937
9981
9979
  lsms_library/countries/Uganda/2013-14/_/food_acquired.py,sha256=4KYYY_vT4oAWdzS4byB3oR-optKSR7hBfnFq1RrDTNo,687
9982
- lsms_library/countries/Uganda/2013-14/_/household_characteristics.py,sha256=uYjsQJVKVbWIFGQNUE6ihnxYkKCWkUymzqO3AWzU-0o,503
9980
+ lsms_library/countries/Uganda/2013-14/_/household_characteristics.py,sha256=bOsTlvbUINWd5cz0F6x4JGFVmDf5XCQQx7haHOo9lyY,425
9983
9981
  lsms_library/countries/Uganda/2013-14/_/housing.py,sha256=MH7s15XOUzSdDhYXc423nLkHME13J0WNH3gPqAzP14k,771
9984
9982
  lsms_library/countries/Uganda/2013-14/_/interview_date.py,sha256=K7u50Xo0nV4QmLE2Dh3YBw2TZb7DXFC7-tjXKXU2kbw,494
9985
9983
  lsms_library/countries/Uganda/2013-14/_/nonfood_expenditures.py,sha256=xHPIY2kxjBKqt1lslhIKg4orYwVD0B16AG3DbAmxd9I,449
@@ -10116,7 +10114,7 @@ lsms_library/countries/Uganda/2015-16/_/earnings.py,sha256=_zIZ3_UUPSmdnCWbg-KJe
10116
10114
  lsms_library/countries/Uganda/2015-16/_/education_expenses.py,sha256=mjDvaMnKdWmiZ8dx3Xa_oLY7r01ynqZO68EGrvLog4k,1869
10117
10115
  lsms_library/countries/Uganda/2015-16/_/enterprise_income.py,sha256=Xx6CNSclieDQq-CdDNqnxEKr4ZLyfVWr0NpzzR1cLwo,939
10118
10116
  lsms_library/countries/Uganda/2015-16/_/food_acquired.py,sha256=QNYRUut4t5s_ApPQJ_iYNVqQMGjLVwMFTM3GrcqCb68,687
10119
- lsms_library/countries/Uganda/2015-16/_/household_characteristics.py,sha256=-m2JXqJYTo8iypmjmRJx8UHSZ6tC7uQXBpjnMrumYUA,515
10117
+ lsms_library/countries/Uganda/2015-16/_/household_characteristics.py,sha256=zwx8lLkrTcd80sgtUBpNbTgnYNnpVd4Uw1AAiL0NY4I,437
10120
10118
  lsms_library/countries/Uganda/2015-16/_/housing.py,sha256=7NnMsH_n9G2L3KwNeomAVaUNajIlSQiaYmlYKusEnT0,771
10121
10119
  lsms_library/countries/Uganda/2015-16/_/interview_date.py,sha256=0O-2c2jqI7j5C5ezgMpvDniJRVFHnNHUfoDaEgtsKXc,515
10122
10120
  lsms_library/countries/Uganda/2015-16/_/nonfood_expenditures.py,sha256=qgUeCa1Ms_d062zOrG6dpjh7qWVCE2pfSGtt8zKReZ4,737
@@ -10244,7 +10242,7 @@ lsms_library/countries/Uganda/2018-19/_/earnings.py,sha256=t4idlzC_vsViR8zhhHUsq
10244
10242
  lsms_library/countries/Uganda/2018-19/_/education_expenses.py,sha256=bxOdUd6YDqBY17VMFK-aKBgaJAtt3iknTXPfO9FEl9E,2182
10245
10243
  lsms_library/countries/Uganda/2018-19/_/enterprise_income.py,sha256=3UH9QufFefBD-DiP6nwyJvq3k8hWRXP0xRfYgJ4XEkA,939
10246
10244
  lsms_library/countries/Uganda/2018-19/_/food_acquired.py,sha256=xTKNV-iRI7SBZGqIy_0nOAmXLGwrdiGFilejXRq5BfI,875
10247
- lsms_library/countries/Uganda/2018-19/_/household_characteristics.py,sha256=CJRwktCvxY2JEN7YfC7_R235MBqkS89srEOfZlV0joQ,695
10245
+ lsms_library/countries/Uganda/2018-19/_/household_characteristics.py,sha256=E85-f6NyfpxSOlDxeiZyRRWLgGxDwDZHYuIzfKRZN8I,602
10248
10246
  lsms_library/countries/Uganda/2018-19/_/housing.py,sha256=7Mi8O8ZVrN5nEum2kGIMx8wd25lkrpWJf16dVC_zLoY,785
10249
10247
  lsms_library/countries/Uganda/2018-19/_/interview_date.py,sha256=-CLyemxm6Sn5I1lZdDm0qdZTKT9MPZCkI1bWCSaR6k4,511
10250
10248
  lsms_library/countries/Uganda/2018-19/_/nonfood_expenditures.py,sha256=7Xm4h1ryDJcFJ65BjXIIIzIRNkZPCCIa44Qsfp2ZLYk,446
@@ -10487,7 +10485,7 @@ lsms_library/countries/Uganda/2019-20/_/earnings.py,sha256=Iuj4_O_NC9n7kDFBnzwE5
10487
10485
  lsms_library/countries/Uganda/2019-20/_/education_expenses.py,sha256=P3NkW0lv-3dbFG2KBXpHqSZm69HR7IqFeO0zhxKxq_Y,2151
10488
10486
  lsms_library/countries/Uganda/2019-20/_/enterprise_income.py,sha256=_7ge9NbCdFoBYHr8OhelG3IrhbC2_-y82l1BDJBJWNQ,942
10489
10487
  lsms_library/countries/Uganda/2019-20/_/food_acquired.py,sha256=R6U1QwbNC-EXXh2cSK3wMPSPqWZL806Drpxu7WvIfDk,728
10490
- lsms_library/countries/Uganda/2019-20/_/household_characteristics.py,sha256=GOswkB9ZffRJDKiSrNl5PgQbd31vrYhuZPnATZbyyV8,518
10488
+ lsms_library/countries/Uganda/2019-20/_/household_characteristics.py,sha256=YclKYa9JBI6kiis3_897YClewg2eAQcmhmgLEx0APQ8,460
10491
10489
  lsms_library/countries/Uganda/2019-20/_/housing.py,sha256=K-5dXSuj8wNLqHD1cbGBPNw2NFBS_M_cAkXNewXGQHY,774
10492
10490
  lsms_library/countries/Uganda/2019-20/_/interview_date.py,sha256=iab1LDvhMALgaFZmR4Zz8FdQwS2dK2P0U0jAfLH9Oug,516
10493
10491
  lsms_library/countries/Uganda/2019-20/_/nonfood_expenditures.py,sha256=CRO6B7Fk0riuBjOCXuuhH3ThlN6cqGcmihv56PuA2vM,450
@@ -10497,7 +10495,6 @@ lsms_library/countries/Uganda/2019-20/_/shocks.py,sha256=L5nYYT82m_ACGGSaUtnpGmm
10497
10495
  lsms_library/countries/Uganda/_/Makefile,sha256=dU7dNM7YXwjTspGlHvYx9a8UwrbxhiKznYAMPohKxeQ,3589
10498
10496
  lsms_library/countries/Uganda/_/assets.py,sha256=jfwV44k96WZ7bANodoZ8BAMO-baQy1FKuCDRKPoqFwA,665
10499
10497
  lsms_library/countries/Uganda/_/categorical_mapping.org,sha256=XD4QBTKwdIEjScBEElpQ0BijfscmbnXfLS8dLQtDpR0,11822
10500
- lsms_library/countries/Uganda/_/compare_unit_labels.py,sha256=_8R3C0EUAjUZtsutmWayGXjEJs7UzOrNfsD1d5TrR_E,276
10501
10498
  lsms_library/countries/Uganda/_/conversion_to_kgs.json,sha256=K7uEX1YERdMTgVCpZ_9Fol2xSbRd90Obf9WuPocJJ98,2650
10502
10499
  lsms_library/countries/Uganda/_/data_scheme.yml,sha256=flcHZV_bpqw555_0ir6ijGQgU1ErDzaLbdtvTfcwJuw,401
10503
10500
  lsms_library/countries/Uganda/_/earnings.py,sha256=ela9bgSbY1S-vvOnQM48WV0XOjCl6d5FNlpqmzAlINo,814
@@ -10526,20 +10523,19 @@ lsms_library/countries/Uganda/_/panel_ids.py,sha256=lKXBBI-iVzPgDV0kOfq9iA3FUolP
10526
10523
  lsms_library/countries/Uganda/_/regions_are_markets.py,sha256=SCO_yvRTaC8B8QiJASnPrLsTHq_x57fyC15a79LjhXY,1107
10527
10524
  lsms_library/countries/Uganda/_/shocks.py,sha256=ZxpyJFwKwX02imDI15MxWCf4q-ehWzVb3ar8yfi3Zow,746
10528
10525
  lsms_library/countries/Uganda/_/uganda.py,sha256=NtH1wllwPOwOObhYrxpgedGo5fkCfD6aJx8euxSppbg,9248
10529
- lsms_library/countries/Uganda/_/unitlabels.csv,sha256=UCO_geSRyI6iJDsfeWrTJ5HSafBjMDG__nX5MT-4MZ4,4433
10530
10526
  lsms_library/countries/Uganda/_/unitlabels.py,sha256=ZegaWAArOeRNKL9O1wpCeQL0QjUCsZkMg2zXqmXgMuM,36329
10531
10527
  lsms_library/countries/Uganda/_/units.org,sha256=5wU9027ikC_yCneE-uqJGTwlrmJ5Pys9AF1iTUNX3So,98391
10532
10528
  lsms_library/countries/Uganda/_/unitvalues.py,sha256=-pY-4OYLJQ-SrCv6xB1FRLevO7yF_KejlL5YV-yp9WY,565
10533
10529
  lsms_library/countries/Uganda/_/updated_ids.json,sha256=pgkwK6gcYKufkWt0GS9G39WPF9w7_rxW_bIO-lSwJW4,462159
10534
10530
  lsms_library/countries/Uganda/var/.gitkeep,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10535
10531
  lsms_library/countries/Uganda/var/README,sha256=pOIlG6aObxWzUedoWjt9Z5-FG28UXrtws6ktD6GhWn0,116
10536
- lsms_library/country.py,sha256=mQWujI2N79sO6zSL_ATMA9lST5eSEToI9U4U95oluHk,33844
10532
+ lsms_library/country.py,sha256=kQ17n1KOqKwMi87OwQkKLn32ejl2sMYOomcHA7_V82Q,33852
10537
10533
  lsms_library/data_info.yml,sha256=Y5GaP52AzJsIvXtioSJP4R63opZcqhjQFsGLjad-2U4,478
10538
10534
  lsms_library/demands.py,sha256=UCnUTjoE6FHt32XvRm4hZdIBryOj_YQU4im0-Wu9y7U,749
10539
10535
  lsms_library/harmony.py,sha256=hEGLJUnWBXdyGeAAr7qgCFZ0Q-KsiqjBxHrtYbZ8Ngs,2742
10540
10536
  lsms_library/local_tools.py,sha256=8DfMIOI0lJ7_NxfH65uYVIbHyAb8KrOJAKOhn2qNjKU,40716
10541
10537
  lsms_library/transformations.py,sha256=uBSGfUAjWMrqSOmxdYYzi9csf8WvjaGCC7lzflJObtU,3661
10542
- lsms_library-0.2.6.dist-info/LICENSE.txt,sha256=qImFXcRJwxIHS80FE7uOx6FhmLY8apd4Y12aR54QU7w,282
10543
- lsms_library-0.2.6.dist-info/METADATA,sha256=Cnn_eFb2XMT64ar6AVoH7JuOuJ_uPSj8sxLXJCdpbQA,5214
10544
- lsms_library-0.2.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
10545
- lsms_library-0.2.6.dist-info/RECORD,,
10538
+ lsms_library-0.2.7.dist-info/LICENSE.txt,sha256=qImFXcRJwxIHS80FE7uOx6FhmLY8apd4Y12aR54QU7w,282
10539
+ lsms_library-0.2.7.dist-info/METADATA,sha256=Hcdr81tv5cbTZZqtEPOfy5arzLBhs1etlCtrUlcATHI,5214
10540
+ lsms_library-0.2.7.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
10541
+ lsms_library-0.2.7.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,4 +0,0 @@
1
-
2
- Maize Ufa:
3
- - Maize Ufa Mgaiwa (Normal F
4
- - Maize Ufa Refined (Fine Fl
@@ -1 +0,0 @@
1
- {"Riz local longs grains": "Riz local longs grains", "Riz local (Kovi\u00c3\u00a9)": "Riz local (Kovi\u00e9)", "Riz import\u00c3\u00a9 longs grains": "Riz import\u00e9 longs grains", "Riz import\u00c3\u00a9 bris\u00c3\u00a9": "Riz import\u00e9 bris\u00e9", "Ma\u00c3\u00afs en \u00c3\u00a9pis": "Ma\u00efs en \u00e9pis", "Ma\u00c3\u00afs en grains": "Ma\u00efs en grains", "Mil": "Mil", "Sorgho": "Sorgho", "Bl\u00c3\u00a9": "Bl\u00e9", "Fonio": "Fonio", "11": "Other Grains", "Farine de ma\u00c3\u00afs": "Farine de ma\u00efs", "Farine de mil": "Farine de mil", "Farine de bl\u00c3\u00a9 local ou import\u00c3\u00a9": "Farine de bl\u00e9 local ou import\u00e9", "15": "Other cereal flours", "P\u00c3\u00a2tes alimentaires": "P\u00e2tes alimentaires", "Pain moderne": "Pain moderne", "Pain traditionnel": "Pain traditionnel", "Croissants": "Croissants", "Biscuits": "Biscuits", "G\u00c3\u00a2teaux": "G\u00e2teaux", "Beignets, galettes": "Beignets, galettes", "Viande de b\u00c5\u0093uf": "Viande de b\u0153uf", "Viande de chameau": "Viande de chameau", "Viande de mouton": "Viande de mouton", "Viande de ch\u00c3\u00a8vre": "Viande de ch\u00e8vre", "Abats et tripes (foie, rognon, etc.)": "Abats et tripes (foie, rognon, etc.)", "Viande de porc": "Viande de porc", "Poulet sur pied": "Poulet sur pied", "Viande de poulet": "Viande de poulet", "Viande d'autres volailles domestiques": "Viande d'autres volailles domestiques", "Charcuterie (jambon, saucisson), conserves de viandes": "Charcuterie (jambon, saucisson), conserves de viandes", "Gibiers": "Gibiers", "Autres viandes n.d.a": "Autres viandes n.d.a", "Chinchard frais": "Chinchard frais", "Carpe fra\u00c3\u00aeche": "Carpe fraiche", "Dorade fraiche": "Dorade fraiche", "Maquereau frais": "Maquereau frais", "Chinchard fum\u00c3\u00a9": "Chinchard fum\u00e9", "Anchois fum\u00c3\u00a9": "Anchois fum\u00e9", "Poisson s\u00c3\u00a9ch\u00c3\u00a9": "Poisson s\u00e9ch\u00e9", "Crabes, crevettes et autres fruits de mer": "Crabes, crevettes et autres fruits de mer", "Conserves de poisson": "Conserves de poisson", "Lait frais": "Lait frais", "Lait caill\u00c3\u00a9, yaourt": "Lait caill\u00e9, yaourt", "Lait concentr\u00c3\u00a9 sucr\u00c3\u00a9": "Lait concentr\u00e9 sucr\u00e9", "Lait concentr\u00c3\u00a9 non-sucr\u00c3\u00a9": "Lait concentr\u00e9 non-sucr\u00e9", "Lait en poudre": "Lait en poudre", "Fromage local": "Fromage local", "Lait et farines pour b\u00c3\u00a9b\u00c3\u00a9": "Lait et farines pour b\u00e9b\u00e9", "Autres produits laitiers": "Autres produits laitiers", "Oeufs": "Oeufs", "Beurre": "Beurre", "Beurre de karit\u00c3\u00a9": "Beurre de karit\u00e9", "Huile de palme rouge": "Huile de palme rouge", "Huile d'arachide": "Huile d'arachide", "Huile de coton": "Huile de coton", "Huile de palme raffin\u00c3\u00a9e": "Huile de palme raffin\u00e9e", "Autres huiles n.d.a. (ma\u00c3\u00afs, soja, huile palmiste, etc.)": "Autres huiles n.d.a. (ma\u00efs, soja, huile palmiste, etc.)", "Mangue": "Mangue", "Ananas": "Ananas", "Orange": "Orange", "Banane douce": "Banane douce", "Citrons": "Citrons", "Autres agrumes": "Autres agrumes", "Avocats": "Avocats", "Past\u00c3\u00a8que, Melon": "Past\u00e8que, Melon", "Dattes": "Dattes", "Noix de coco": "Noix de coco", "Canne \u00c3\u00a0 sucre": "Canne \u00e0 sucre", "Autres fruits (pommes, raisin, etc.)": "Autres fruits (pommes, raisin, etc.)", "Salade (laitue)": "Salade (laitue)", "Choux": "Choux", "Carotte": "Carotte", "Haricot vert": "Haricot vert", "Concombre": "Concombre", "Aubergine, Courge/Courgette": "Aubergine, Courge/Courgette", "Poivron frais": "Poivron frais", "Tomate fra\u00c3\u00aeche": "Tomate fraiche", "Tomate s\u00c3\u00a9ch\u00c3\u00a9e": "Tomate s\u00e9ch\u00e9e", "Gombo frais": "Gombo frais", "Gombo sec": "Gombo sec", "Oignon frais": "Oignon frais", "Ail": "Ail", "Feuilles d'oseille (dakoumou, bissap/floer\u00c3\u00a8)": "Feuilles d'oseille (dakoumou, bissap/floer\u00e8)", "Feuilles de baobab": "Feuilles de baobab", "Gboma": "Gboma", "Ad\u00c3\u00a9m\u00c3\u00a8 (Feuilles crin-crin)": "Ad\u00e9m\u00e8 (Feuilles crin-crin)", "Moringa, feuilles de manioc, feuilles de taro et autres feuilles": "Moringa, feuilles de manioc, feuilles de taro et autres feuilles", "Autre l\u00c3\u00a9gumes frais n.d.a": "Autre l\u00e9gumes frais n.d.a", "Concentr\u00c3\u00a9 de tomate": "Concentr\u00e9 de tomate", "Petits pois": "Petits pois", "Petit pois secs": "Petit pois secs", "Autres l\u00c3\u00a9gumes secs n.d.a": "Autres l\u00e9gumes secs n.d.a", "Ni\u00c3\u00a9b\u00c3\u00a9/Haricots secs": "Ni\u00e9b\u00e9/Haricots secs", "Arachides fra\u00c3\u00aeches en coques": "Arachides fraiches en coques", "Arachides s\u00c3\u00a9ch\u00c3\u00a9es en coques": "Arachides s\u00e9ch\u00e9es en coques", "Arachides d\u00c3\u00a9cortiqu\u00c3\u00a9es ou pil\u00c3\u00a9es": "Arachides d\u00e9cortiqu\u00e9es ou pil\u00e9es", "Arachide grill\u00c3\u00a9e": "Arachide grill\u00e9e", "P\u00c3\u00a2te d'arachide": "P\u00e2te d'arachide", "S\u00c3\u00a9same": "S\u00e9same", "Noix de cajou": "Noix de cajou", "Noix de karit\u00c3\u00a9": "Noix de karit\u00e9", "Manioc": "Manioc", "Igname": "Igname", "Plantain": "Plantain", "Pomme de terre": "Pomme de terre", "Taro, macabo": "Taro, macabo", "Patate douce": "Patate douce", "Autres tubercules n.d.a": "Autres tubercules n.d.a", "Farines de manioc": "Farines de manioc", "Gari, tapioca": "Gari, tapioca", "Atti\u00c3\u00a9ke": "Atti\u00e9ke", "Sucre (poudre ou morceaux)": "Sucre (poudre ou morceaux)", "Miel": "Miel", "Chocolat \u00c3\u00a0 croquer, p\u00c3\u00a2te \u00c3\u00a0 tartiner": "Chocolat \u00e0 croquer, p\u00e2te \u00e0 tartiner", "Caramel, bonbons, confiseries, etc": "Caramel, bonbons, confiseries, etc", "Sel": "Sel", "Piment": "Piment", "Gingembre": "Gingembre", "Cube alimentaire (Maggi, Jumbo, )": "Cube alimentaire (Maggi, Jumbo, )", "Ar\u00c3\u00b4me (Maggi, Jumbo, etc.)": "Ar\u00f4me (Maggi, Jumbo, etc.)", "Afintin (Moutarde africaine)": "Afintin (Moutarde africaine)", "Mayonnaise": "Mayonnaise", "Vinaigre /moutarde": "Vinaigre /moutarde", "Autres condiments (poivre etc.)": "Autres condiments (poivre etc.)", "Noix de cola": "Noix de cola", "Autres produits alimentaires": "Autres produits alimentaires", "Caf\u00c3\u00a9": "Caf\u00e9", "Th\u00c3\u00a9": "Th\u00e9", "Chocolat en poudre": "Chocolat en poudre", "Autres tisanes et infusions n.d.a. (quinquelibat, citronelle, etc.)": "Autres tisanes et infusions n.d.a. (quinquelibat, citronelle, etc.)", "Jus de fruits (orange, bissap, gingembre, jus de cajou,etc.)": "Jus de fruits (orange, bissap, gingembre, jus de cajou,etc.)", "Eau min\u00c3\u00a9rale/ filtr\u00c3\u00a9e": "Eau min\u00e9rale/ filtr\u00e9e", "Boissons gazeuses (coca, etc.)": "Boissons gazeuses (coca, etc.)", "Jus en poudre": "Jus en poudre", "Bi\u00c3\u00a8res et vins traditionnels (dolo, vin de palme, vin de raphia, etc.)": "Bi\u00e8res et vins traditionnels (dolo, vin de palme, vin de raphia, etc.)", "Bi\u00c3\u00a8res industrielles": "Bi\u00e8res industrielles", "": "Missing", "201": "Cigarettes, Tabac", "202": "P\u00e9trole lampant", "203": "Charbon de bois/Charbon min\u00e9ral", "204": "Bois de chauffe achet\u00e9", "205": "Bois de chauffe ramass\u00e9 (estimer la valeur)", "206": "Bougies", "207": "Allumettes", "208": "Carburant pour v\u00e9hicule", "209": "Carburant pour motocyclette", "210": "Transport urbain en taxi", "211": "Transport urbain en bus", "212": "Transport urbain / rural en moto-taxi", "213": "Transport urbain en train", "214": "Transport urbain / rural par voie fluviale", "215": "Transport urbain / rural par traction animale", "216": "Journaux", "217": "Frais de mouture des c\u00e9r\u00e9ales", "301": "Whisky et autres liqueurs", "302": "Vins modernes", "303": "Gaz domestique", "304": "Carburant pour groupe electrog\u00e8ne \u00e0 usage domestique", "305": "Piles \u00e9lectriques,", "306": "Savon de m\u00e9nage, lessive en poudre, d\u00e9tergents (eau de javel, etc.)", "307": "Insecticide, tortillon anti-moustique", "308": "Salaire du personnel de maison (gardien, boy, chauffeur, cuisinier, etc.)", "309": "Frais de blanchiment des v\u00eatements, linge, etc. (Pressing)", "310": "Frais de ramassage des ordures m\u00e9nag\u00e8res", "311": "Lavage de v\u00e9hicules", "312": "Frais de parking", "313": "Frais de communication t\u00e9l\u00e9phonique dans une cabine / t\u00e9l\u00e9centre", "314": "Billet de lotterie nationale, billet de PMU", "315": "Revues, journal ou magazine mensuel etc.", "316": "Frais de coiffure homme et femme (salon, tressage, m\u00e8ches, coupe, etc.), manucure, p\u00e9dicure", "317": "Savon de toilette, Shampoing", "318": "P\u00e2te dentifrice", "319": "Papier toilette", "320": "Serviettes hygi\u00e9niques, couches jetables pour b\u00e9b\u00e9, etc.", "321": "Lait, lotion de toilette corporelle (glyc\u00e9rine, vaseline, etc.)", "322": "Autres produits de toilettes (rasoir, coton, cr\u00e8me / mousse \u00e0 raser, etc.)", "401": "Frais d'entretien et de r\u00e9paration de chaussures: cirage, ressemelage, etc.", "402": "Ampoules \u00e9lectriques pour le logement", "403": "Lubrifiants (huile moteur; huile de frein; liquide batterie (acide); graisses; autres lubrifiants n.d.a.)", "404": "Services de r\u00e9paration et d'entretien (vidange, graissage, etc.) de moyens de transport personnel (voitures, motos, bicyclette, etc.)", "405": "Transport inter-localit\u00e9 par voitures", "406": "Transport inter-locait\u00e9 \u00e0 traction animale", "407": "Transport interlocalit\u00e9 par eau (bateau, pirogue, pinasse)", "408": "Frais de timbre postaux, d'exp\u00e9dition de mandat, etc", "409": "Frais d'envoi de fax", "410": "Produits pour le jardinage (plantes et fleurs ornementales), pas pour l'agriculture", "411": "Aliments, frais d'entretien, frais de v\u00e9t\u00e9rinaire des animaux de compagnie (chiens, chats, etc.)", "412": "Droit d'entr\u00e9e (achat d'un ticket) \u00e0 des manifestations sportives.", "413": "Droit d'entr\u00e9e (achat d'un ticket) pour cin\u00e9ma, concert, pi\u00e8ce de th\u00e9\u00e2tre, mus\u00e9e, expositions, etc", "414": "Autres services r\u00e9cr\u00e9atifs: services de photographe (d\u00e9veloppement, tirage), photo d'identit\u00e9, etc.", "415": "Parfums", "416": "Brosse \u00e0 dents", "417": "Contraceptifs", "418": "Frais de photocopies de document", "501": "Tissus d'habillement: tissus pagne, tissu pagne du tisserand, tissu synth\u00e9tique, etc.", "502": "V\u00eatements femmes (15 ans et plus): robe, jupe, pantalon, ensemble, etc.", "503": "Sous-v\u00eatements femme (15 ans et plus): slip, jupon, tee shirt,soutien gorge, collant, etc.", "504": "V\u00eatements enfants (0-14 ans): layette pour b\u00e9b\u00e9, chemise, pantalon gar\u00e7on, robe fillette, slip enfant, blouses, etc. (Pas inclure les uniformes scolaires)", "505": "V\u00eatements hommes (15 ans et plus): chemise, pantalon, veste, ensemble, v\u00eatements de travail, etc.", "506": "Sous-v\u00eatements homme (15 ans et plus): slip, chaussettes, tee shirt et maillot de corps, etc.", "507": "Frais de confection et de r\u00e9paration de v\u00eatements homme: ensemble, pantalon, chemise, r\u00e9paration, location v\u00eatement, etc.", "508": "Frais de confection et de r\u00e9paration de v\u00eatements femme: robe, pantalon, jupe, ensemble, r\u00e9paration, location, etc.", "509": "Frais de confection et de r\u00e9paration de v\u00eatements enfants", "510": "Chaussures hommes", "511": "Chaussures femmes", "512": "Chaussures enfants", "601": "Mat\u00e9riel pour l'entretien et les petites r\u00e9parations du logement (remplacement d'une t\u00f4le, d'une vitre, d'une ampoule, etc.)", "602": "Main-d'oeuvre et services d'entretien et de r\u00e9paration courante du logement (vidange fosse septique,main d'\u0153uvre pour l'entretien du logement, etc.)", "603": "Mat\u00e9riaux de ma\u00e7onnerie pour la construction ou les grosses r\u00e9parations de logement: ciment, briques, fer \u00e0 b\u00e9ton, sable, gravier, parpaings, etc.", "604": "Autres mat\u00e9riaux pour la construction ou les grosses r\u00e9parations de logement: t\u00f4les, bois de charpente, planches, lattes, contre-plaqu\u00e9s, mat\u00e9riaux d'\u00e9lectricit\u00e9, mat\u00e9riaux de plomberie, mat\u00e9riaux de peinture, carreaux, tapis et rev\u00eatement du sol, etc.", "605": "Main-d'oeuvre pour la construction et les grosses r\u00e9paration de logement (ma\u00e7onnerie, toiture et charpente, \u00e9lectricit\u00e9, plomberie, menuiserie, peinture et rev\u00eatement du sol), etc.", "606": "Frais d'acquisition d'un terrain ou d'un logement", "607": "Frais d'\u00e9tudes et d'architecte", "608": "Frais d'abonnement au r\u00e9seau de distribution d'eau", "609": "Frais d'abonnement au r\u00e9seau de distribution d'\u00e9lectricit\u00e9", "610": "Frais de connexion au r\u00e9seau de distribution d'eau", "611": "Frais de connexion au r\u00e9seau de distribution d'\u00e9lectricit\u00e9", "612": "Meubles de salon et de salle \u00e0 manger (fauteuils, table, chaises, armoires, etc.)", "613": "Lit, matelas, armoire et autres meubles de chambre \u00e0 coucher", "614": "R\u00e9paration de meubles (fauteuils, chaises, lits, armoires, etc.)", "615": "Linge de maison et articles associ\u00e9s (serviettes de bain, drap, couverture, couvre-lit, oreillers, moustiquaire, nattes, tapis, rideaux, \u00e9ventail, etc.)", "616": "Appareils \u00e9lectro-m\u00e9nagers: frigo, climatiseurs, r\u00e9chaud, four, cuisini\u00e8re, lave-linge, chauffe-eau, fer \u00e0 repasser, etc.", "617": "R\u00e9paration d'appareils \u00e9lectro-m\u00e9nagers (fer \u00e0 repasser, frigo, cuisini\u00e8re, four, r\u00e9chaud, climatiseur, ventilateur, chauffe-eau, etc.)", "618": "Vaisselle: assiettes, couteau, fourchette, cuill\u00e8re, gobelets, verres, etc.", "619": "Ustensiles de cuisine: casserole, marmite, tamis local, r\u00e9paration d'ustensiles de cuisine, etc.", "620": "Autres ustensiles de m\u00e9nage: seau, bouilloire, biberon, poubelle, tasses, caf\u00e9ti\u00e8re non \u00e9lectrique, th\u00e9i\u00e8re, calebasse, louche, jarre, canari, mortier, pilon, etc.", "621": "Outillage de maison: outils de bricolage (marteau, tournevis, etc.); outil de jardinage (pelle, r\u00e2teau, brouette, etc.);", "622": "Lampes \u00e9lectriques, lampes temp\u00eates, torches", "623": "Achat d'une voiture pour usage personnel", "624": "Achat d'un motocycle (v\u00e9lo, moto) pour usage personnel", "625": "Pi\u00e8ces d\u00e9tach\u00e9es de moyens de transport individuel: pneu, batterie, bougie, carburateur, etc.", "626": "Frais d'assurance d'un moyen de transport individuel (auto, moto, etc.), assurance de voyage", "627": "Vignette automobile/ moto", "628": "Location d'un v\u00e9hicule pour usage personnel: voiture, moto/v\u00e9lo, etc.", "629": "Transport inter-urbain en train dans le pays et \u00e0 l'\u00e9tranger", "630": "Transport en avion dans le pays et \u00e0 l'\u00e9tranger", "631": "Frais de d\u00e9m\u00e9nagement", "632": "Frais de visa, taxes d'a\u00e9roport", "633": "Achat d'un t\u00e9l\u00e9phone portable", "634": "Appareils de musique et d'images: radio, radio-cassette, cha\u00eene de musique, TV, lecteur CD/DVD, MP3, MP4, cam\u00e9ra, camescope, etc.", "635": "Ordinateur, imprimante, tablette,machine \u00e0 \u00e9crire, etc.", "636": "R\u00e9paration d'appareils \u00e9lectroniques: radio, radio-cassettes, TV, camera, lecteur CD/DVD, ordinateur, etc.", "637": "Petit mat\u00e9riel \u00e9lectronique \u00e0 usage personnel: cassettes, CD/DVD, cl\u00e9 USB, encre pour imprimante, papier d'impression photos, pellicule photos, etc.", "638": "Articles de sport et de d\u00e9tente: ballon, jeu ludo, poids (p\u00e9tanque), jeu de carte, jouets pour enfants, jeux vid\u00e9o, petits instruments de musique, etc.", "639": "Livres non scolaires, bande dessin\u00e9e", "640": "Papier rame, enveloppes, articles de dessin (pinceaux, papier, peinture etc.), etc.", "641": "Frais de p\u00e9l\u00e9rinage", "642": "Formation professionnelle (en particulier directement aupr\u00e8s des ateliers, ma\u00eetres, etc.)", "643": "Frais de cours particuliers pour adultes (alphab\u00e9tisation) et personnes non scolaris\u00e9es", "644": "Services d'h\u00e9bergement: chambres d'h\u00f4tel, etc.", "645": "Montres, r\u00e9veils", "646": "Boucle d'oreilles, colliers, bracelets, bijoux, autres articles de bijouterie et joaillerie n.d.a.", "647": "Autres effets personnels: valise, sac de voyage, sac \u00e0 main, perruques, chapeau, lunettes solaires, parapluies, parasol, canne, porte-monnaie, portefeuille, articles pour fumeurs (cendrier etc.); articles pour b\u00e9b\u00e9 (poussette, si\u00e8ges), articles fun\u00e9raires, etc.", "648": "Frais d'assurance d'une maison ou tout autre bien qu'un moyen de transport", "649": "Taxes d'habitation (immeubles b\u00e2ties et non b\u00e2ties), taxes de voiries", "650": "Frais d'assurance vie", "651": "Frais d'assurance maladie", "652": "Frais de l\u00e9galisation (confection) de documents administratifs (actes d'Etat-civil, dipl\u00f4mes, etc.)", "653": "Autres services: annonce \u00e0 la radio, dans un journal/\u00e0 la t\u00e9l\u00e9vision, pompe fun\u00e8bre, etc."}
@@ -1,9 +0,0 @@
1
- from cfe.df_utils import df_to_orgtbl
2
- import pandas as pd
3
-
4
- d = {}
5
- for t in ['2005-06','2009-10','2010-11','2011-12','2013-14','2015-16','2018-19','2019-20']:
6
- d[t] = pd.read_csv('../'+t+'/_/unitlabels.csv',index_col=0).squeeze()
7
-
8
- d = pd.DataFrame(d)
9
- print(df_to_orgtbl(d))
@@ -1,290 +0,0 @@
1
- Code,Preferred Label
2
- 0,---
3
- 1,Kg
4
- 2,Gram
5
- 3,Litre
6
- 4,Akendo (Small)
7
- 5,Metre
8
- 6,Square metre
9
- 7,Yard
10
- 8,Millilitre
11
- 9,Sack (120 kgs)
12
- 10,Sack (100 kgs)
13
- 11,Sack (80 kgs)
14
- 12,Sack (50 kgs)
15
- 13,Sack (unspecified)
16
- 14,Jerrican (20 lts)
17
- 15,Jerrican (10 lts)
18
- 16,Jerrican (5 lts)
19
- 17,Jerrican (3 lts)
20
- 18,Jerrican (2 lts)
21
- 19,Jerrican (1 lt)
22
- 20,Tin (Debe) (20 lts)
23
- 21,Tin (5 lts)
24
- 22,Plastic Basin (15 lts)
25
- 23,Bottle(750ml)
26
- 24,Bottle(500ml)
27
- 25,Bottle(350ml)
28
- 26,Bottle(300ml)
29
- 27,Bottle(250ml)
30
- 28,Bottle(150ml)
31
- 29,Kimbo/Cowboy/Blueband Tin (2kg)
32
- 30,Kimbo/Cowboy/Blueband Tin (1kg)
33
- 31,Kimbo/Cowboy/Blueband Tin (0.5kg)
34
- 32,Cup/Mug(0.5lt)
35
- 33,Glass(0.25lt)
36
- 34,Ladle(100g)
37
- 35,Table spoon
38
- 36,Tea spoon
39
- 37,Basket (20 kg)
40
- 38,Basket (10 kg)
41
- 39,Basket (5 kg)
42
- 40,Basket (2 kg)
43
- 41,Loaf (1kg)
44
- 42,Loaf (500g)
45
- 43,Buns (200 g)
46
- 44,Buns (100 g)
47
- 45,Buns (50 g)
48
- 46,Bathing soap (Tablet)
49
- 47,Washing soap (Bar)
50
- 48,Washing soap (Tablet)
51
- 49,Packet (2 kg)
52
- 50,Packet (1 kg)
53
- 51,Packet (500 g)
54
- 52,Packet (250 g)
55
- 53,Packet (100 g)
56
- 54,Packet(125g)
57
- 55,Fish Whole (Small)
58
- 56,Fish Whole (Medium)
59
- 57,Fish Whole (Large)
60
- 58,Fish Cut piece (up to 1kg)
61
- 59,Fish Cut piece (1 - 2 kg)
62
- 60,Fish Cut piece(Above 2 kg)
63
- 61,Tray of 30 eggs
64
- 62,Ream
65
- 63,Crate
66
- 64,Heap (unspecified)
67
- 65,Dozen
68
- 66,Bundle (Unspecified)
69
- 67,Bunch (Big)
70
- 68,Bunch (Medium)
71
- 69,Bunch (Small)
72
- 70,Bunch (Big)
73
- 71,Bunch (Medium)
74
- 72,Bunch (Small)
75
- 73,Cluster (Unspecified)
76
- 74,Gourd (1-5lts)
77
- 75,Gourd (5-10lts)
78
- 76,Gourd (Above 10 lts)
79
- 77,Jug (2 lts)
80
- 78,Jug (1.5 lts)
81
- 79,Jug (1 lt)
82
- 80,Tot (50 ml)
83
- 81,Tot (sachet)
84
- 82,Tot (Unspecified)
85
- 83,Tobacco leaf (Number)
86
- 84,Pair
87
- 85,Number of Units (General)
88
- 86,Acre
89
- 87,Piece (Big)
90
- 88,Piece (Medium)
91
- 89,Piece (Small)
92
- 90,Heap (Big)
93
- 91,Heap (Medium)
94
- 92,Heap (Small)
95
- 93,Cluster (Big)
96
- 94,Cluster (Medium)
97
- 95,Cluster (Small)
98
- 96,Bundle (Big)
99
- 97,Bundle (Medium)
100
- 98,Bundle (Small)
101
- 99,Others specify
102
- 100,Fish Whole (Large)
103
- 101,Fish Whole (Medium)
104
- 102,Fish Whole (Small)
105
- 103,Plastic Basin (5 ltrs)
106
- 104,Glass (500ml)
107
- 105,Glass (125ml)
108
- 106,Jug (2.5ltrs)
109
- 107,Nice cup (100g) - Large
110
- 108,Nice cup (60g) - Medium
111
- 109,Nice cup (50g) - Small
112
- 110,Metallic tumbler (100g) - Big
113
- 111,Metallic tumbler (50g) - Small
114
- 112,Plastic tumbler (50g) - Big
115
- 113,Plastic tumbler (30g) - Small
116
- 114,Plastic plate (60g) - Large
117
- 115,Plastic plate (30g) - Small
118
- 116,Metallic plate (100g) - Large
119
- 117,Metallic plate (80g) - Small
120
- 118,Plastic bowl (40g)
121
- 119,Nomi Tin (1kg)
122
- 120,Nomi Tin (500g)
123
- 121,Nomi Tin (250g)
124
- 122,Nido Tin (400g)
125
- 123,Akendo (Big)
126
- 124,Akendo (Medium)
127
- 125,Akendo (Small)
128
- 126,Jerrican (500 ml)
129
- 127,Container (Big)
130
- 128,Container (Medium)
131
- 129,Container (Small)
132
- 130,Container (Smallest)
133
- 131,Bottle (500g)
134
- 132,Bottle (350g)
135
- 133,Sadolin Tin (3ltrs)
136
- 134,Loaf (1kg)
137
- 135,Loaf (500g)
138
- 137,Bottle (1ltr)
139
- 138,Bottle (1.5ltr)
140
- 139,Bottle (2ltr)
141
- 140,Sacket (10g)
142
- 141,Sacket (15g)
143
- 142,Sacket (20g)
144
- 143,Sacket (25g)
145
- 144,Sacket (30g)
146
- 145,Sacket (50g)
147
- 146,Sacket (100g)
148
- 147,Sacket (150g)
149
- 104002,---
150
- 104003,---
151
- 104087,---
152
- 104088,---
153
- 104089,---
154
- 105091,---
155
- 105092,---
156
- 107087,---
157
- 107088,---
158
- 107089,---
159
- 107090,---
160
- 107091,---
161
- 107092,---
162
- 109087,---
163
- 109088,---
164
- 109089,---
165
- 109090,---
166
- 109092,---
167
- 111087,---
168
- 111088,---
169
- 111089,---
170
- 111090,---
171
- 113087,---
172
- 113088,---
173
- 113089,---
174
- 114087,---
175
- 114089,---
176
- 121087,---
177
- 121089,---
178
- 122055,---
179
- 122056,---
180
- 122057,---
181
- 123055,---
182
- 123056,---
183
- 123057,---
184
- 123058,---
185
- 123059,---
186
- 123060,---
187
- 123090,---
188
- 123091,---
189
- 123092,---
190
- 124088,---
191
- 125050,---
192
- 125051,---
193
- 125052,---
194
- 128004,---
195
- 128005,---
196
- 128051,---
197
- 128052,---
198
- 128053,---
199
- 129001,---
200
- 129002,---
201
- 129003,---
202
- 129004,---
203
- 130090,---
204
- 130091,---
205
- 130092,---
206
- 131093,---
207
- 131094,---
208
- 131095,---
209
- 132087,---
210
- 132088,---
211
- 132089,---
212
- 133087,---
213
- 133088,---
214
- 133089,---
215
- 133090,---
216
- 133092,---
217
- 135087,---
218
- 135088,---
219
- 135089,---
220
- 135090,---
221
- 135091,---
222
- 135092,---
223
- 135096,---
224
- 135097,---
225
- 135098,---
226
- 136087,---
227
- 136088,---
228
- 136089,---
229
- 136090,---
230
- 136091,---
231
- 136092,---
232
- 137087,---
233
- 137088,---
234
- 137089,---
235
- 138096,---
236
- 138097,---
237
- 138098,---
238
- 151024,---
239
- 151026,---
240
- 152024,---
241
- 153001,---
242
- 154001,---
243
- 155054,---
244
- 155099,---
245
- 157001,---
246
- 158024,---
247
- 158026,---
248
- 159024,---
249
- 160001,---
250
- 161001,---
251
- 164087,---
252
- 164088,---
253
- 164089,---
254
- 165087,---
255
- 165088,---
256
- 165089,---
257
- 166087,---
258
- 166088,---
259
- 166089,---
260
- 167087,---
261
- 167088,---
262
- 167089,---
263
- 167090,---
264
- 167091,---
265
- 167092,---
266
- 168087,---
267
- 168088,---
268
- 168089,---
269
- 168090,---
270
- 168091,---
271
- 168092,---
272
- 169087,---
273
- 169088,---
274
- 169089,---
275
- 170087,---
276
- 170088,---
277
- 170089,---
278
- 171087,---
279
- 171088,---
280
- 171089,---
281
- 807087,---
282
- 807089,---
283
- 136,---
284
- 156087,---
285
- 139093,---
286
- 142092,---
287
- 156096,---
288
- 156090,---
289
- 181087,---
290
- 142090,---