Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### MOSPI_IndiaPLFS_DailyWages

- Description: Daily wages at the country and state level.

- Source URL: https://esankhyiki.mospi.gov.in/macroindicators?product=plf

- Import Type: Manual Refresh

- Data Availability: 2017-05 to 2024-02

- Release Frequency: P3Y

### Preprocessing and Data Acquisition

To download the raw input files:
- Use the link to download the data. Select "Average wage earnings (Rs. 0.00) per day from casual labour work other than public works". Selected all years, gender, quarter, sector and state.

### Data Processing

After the files are downloaded, the data is processed using the stat_var_processor.py script. Each stage handles a specific data category. The script uses various command-line arguments to specify the input data, pvmap, configuration file, and output path for each category.

```bash

python3 stat_var_processor.py --existing_statvar_mcf=gs://unresolved_mcf/scripts/statvar/stat_vars.mcf --input_data='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_daily_wages/{InputFile}.csv' --pv_map='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_daily_wages/daily_wages_pvmap.csv' --config_file='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_daily_wages/daily_wages_metadata.csv' --output_path='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_daily_wages/output/daily_wages' --places_resolved_csv='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_daily_wages/daily_wages_places.csv'
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
parameter,value
header_rows,1
output_columns,"observationDate,observationAbout,variableMeasured,value,unit,measurementMethod,observationPeriod"
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
place_name,dcid
All India,country/IND
Andaman & Nicobar Islands,wikidataId/Q40888
Andhra Pradesh,wikidataId/Q1159
Arunachal Pradesh,wikidataId/Q1162
Assam,wikidataId/Q1164
Bihar,wikidataId/Q1165
Chandigarh,wikidataId/Q120971341
Chhattisgarh,wikidataId/Q1168
Dadra & Nagar Haveli,wikidataId/Q77997266
Daman & Diu,wikidataId/Q66710
Delhi,wikidataId/Q9357528
Goa,wikidataId/Q1171
Gujarat,wikidataId/Q1061
Haryana,wikidataId/Q1174
Himachal Pradesh,wikidataId/Q1177
Jammu & Kashmir,wikidataId/Q66278313
Jharkhand,wikidataId/Q1184
Karnataka,wikidataId/Q1185
Kerala,wikidataId/Q1186
Lakshadweep,wikidataId/Q26927
Madhya Pradesh,wikidataId/Q1188
Maharashtra,wikidataId/Q1191
Manipur,wikidataId/Q1193
Meghalaya,wikidataId/Q1195
Mizoram,wikidataId/Q1502
Nagaland,wikidataId/Q1599
Odisha,wikidataId/Q22048
Puducherry,wikidataId/Q66743
Punjab,wikidataId/Q22424
Rajasthan,wikidataId/Q1437
Sikkim,wikidataId/Q1505
Tamil Nadu,wikidataId/Q1445
Telangana,wikidataId/Q677037
Tripura,wikidataId/Q1363
Uttarakhand,wikidataId/Q1499
Uttar Pradesh,wikidataId/Q1498
West Bengal,wikidataId/Q1356
Ladakh,wikidataId/Q200667
Dadra & Nagar Haveli & Daman & Diu,wikidataId/Q77997266
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
key,prop,value,,,,,,
2017-18,Year,2018,,,,,,
2018-19,Year,2019,,,,,,
2019-20,Year,2020,,,,,,
2020-21,Year,2021,,,,,,
2021-22,Year,2022,,,,,,
2022-23,Year,2023,,,,,,
2023-24,Year,2024,,,,,,
2024-25,Year,2025,,,,,,
2025-26,Year,2026,,,,,,
2026-27,Year,2027,,,,,,
2027-28,Year,2028,,,,,,
2028-29,Year,2029,,,,,,
2029-30,Year,2030,,,,,,
indicator,measuredProperty,wagesDaily,populationType,Person,statType,meanValue,occupation,WorkerOtherThanPublicWorker
male,gender,Male,,,,,,
female,gender,Female,,,,,,
person,gender,"""""",,,,,,
rural + urban,placeOfResidenceClassification,"""""",,,,,,
rural,placeOfResidenceClassification,Rural,,,,,,
urban,placeOfResidenceClassification,Urban,,,,,,
APR-JUN,Month1,5,observationPeriod,P3M,#Eval,Year1=int(Year)-1,observationDate,{Year1}-{Month1}
OCT-DEC,Month2,11,observationPeriod,P3M,#Eval,Year1=int(Year)-1,observationDate,{Year1}-{Month2}
JUL-SEP,Month3,8,observationPeriod,P3M,#Eval,Year1=int(Year)-1,observationDate,{Year1}-{Month3}
JAN-MAR,Month4,2,observationPeriod,P3M,observationDate,{Year}-{Month4},,
value,value,{Number},,,,,,
unit,unit,INR,,,,,,
state,observationAbout,{Data},,,,,,

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Node: E:daily_wages_output->E0
observationDate: C:daily_wages_output->observationDate
observationAbout: C:daily_wages_output->observationAbout
variableMeasured: C:daily_wages_output->variableMeasured
value: C:daily_wages_output->value
unit: C:daily_wages_output->unit
measurementMethod: C:daily_wages_output->measurementMethod
observationPeriod: C:daily_wages_output->observationPeriod
typeOf: dcs:StatVarObservation
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### MOSPI_IndiaPLFS_MonthlyWages

- Description: Monthly wages at the country and state level.

- Source URL: https://esankhyiki.mospi.gov.in/macroindicators?product=plf

- Import Type: Manual Refresh

- Data Availability: 2017-05 to 2024-02

- Release Frequency: P3Y

### Preprocessing and Data Acquisition

To download the raw input files:
- Use the link to download the data. Select "Average wage/salary earnings (Rs. 0.00) during the preceding calendar month from regular wage/salaried employment". Selected all years, gender, quarter, sector and state.

### Data Processing

After the files are downloaded, the data is processed using the stat_var_processor.py script. Each stage handles a specific data category. The script uses various command-line arguments to specify the input data, pvmap, configuration file, and output path for each category.

```bash

python3 stat_var_processor.py --existing_statvar_mcf=gs://unresolved_mcf/scripts/statvar/stat_vars.mcf --input_data='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_monthly_wages/{InputFile}.csv' --pv_map='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_monthly_wages/monthly_wages_pvmap.csv' --config_file='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_monthly_wages/monthly_wages_metadata.csv' --output_path='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_monthly_wages/output/monthly_wages' --places_resolved_csv='../../statvar_imports/india_mospi/plfs_wages/mospi_india_plfs_monthly_wages/monthly_wages_places.csv'
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
parameter,value
header_rows,1
output_columns,"observationDate,observationAbout,variableMeasured,value,unit,measurementMethod,observationPeriod"
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
place_name,dcid
All India,country/IND
Andaman & Nicobar Islands,wikidataId/Q40888
Andhra Pradesh,wikidataId/Q1159
Arunachal Pradesh,wikidataId/Q1162
Assam,wikidataId/Q1164
Bihar,wikidataId/Q1165
Chandigarh,wikidataId/Q120971341
Chhattisgarh,wikidataId/Q1168
Dadra & Nagar Haveli,wikidataId/Q77997266
Daman & Diu,wikidataId/Q66710
Delhi,wikidataId/Q9357528
Goa,wikidataId/Q1171
Gujarat,wikidataId/Q1061
Haryana,wikidataId/Q1174
Himachal Pradesh,wikidataId/Q1177
Jammu & Kashmir,wikidataId/Q66278313
Jharkhand,wikidataId/Q1184
Karnataka,wikidataId/Q1185
Kerala,wikidataId/Q1186
Lakshadweep,wikidataId/Q26927
Madhya Pradesh,wikidataId/Q1188
Maharashtra,wikidataId/Q1191
Manipur,wikidataId/Q1193
Meghalaya,wikidataId/Q1195
Mizoram,wikidataId/Q1502
Nagaland,wikidataId/Q1599
Odisha,wikidataId/Q22048
Puducherry,wikidataId/Q66743
Punjab,wikidataId/Q22424
Rajasthan,wikidataId/Q1437
Sikkim,wikidataId/Q1505
Tamil Nadu,wikidataId/Q1445
Telangana,wikidataId/Q677037
Tripura,wikidataId/Q1363
Uttarakhand,wikidataId/Q1499
Uttar Pradesh,wikidataId/Q1498
West Bengal,wikidataId/Q1356
Ladakh,wikidataId/Q200667
Dadra & Nagar Haveli & Daman & Diu,wikidataId/Q77997266
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
key,prop,value,,,,,,
2017-18,Year,2018,,,,,,
2018-19,Year,2019,,,,,,
2019-20,Year,2020,,,,,,
2020-21,Year,2021,,,,,,
2021-22,Year,2022,,,,,,
2022-23,Year,2023,,,,,,
2023-24,Year,2024,,,,,,
2024-25,Year,2025,,,,,,
2025-26,Year,2026,,,,,,
2026-27,Year,2027,,,,,,
2027-28,Year,2028,,,,,,
2028-29,Year,2029,,,,,,
2029-30,Year,2030,,,,,,
indicator,measuredProperty,wagesMonthly,populationType,Person,statType,meanValue,,
male,gender,Male,,,,,,
female,gender,Female,,,,,,
person,gender,"""""",,,,,,
rural + urban,placeOfResidenceClassification,"""""",,,,,,
rural,placeOfResidenceClassification,Rural,,,,,,
urban,placeOfResidenceClassification,Urban,,,,,,
APR-JUN,Month1,5,observationPeriod,P3M,#Eval,Year1=int(Year)-1,observationDate,{Year1}-{Month1}
OCT-DEC,Month2,11,observationPeriod,P3M,#Eval,Year1=int(Year)-1,observationDate,{Year1}-{Month2}
JUL-SEP,Month3,8,observationPeriod,P3M,#Eval,Year1=int(Year)-1,observationDate,{Year1}-{Month3}
JAN-MAR,Month4,2,observationPeriod,P3M,observationDate,{Year}-{Month4},,
value,value,{Number},,,,,,
unit,unit,INR,,,,,,
state,observationAbout,{Data},,,,,,
Loading
Loading