Commit 51ec2a56 authored by Shubham V's avatar Shubham V

added config file

parent 9aebaae6
...@@ -7,47 +7,9 @@ from utils import * ...@@ -7,47 +7,9 @@ from utils import *
import matplotlib import matplotlib
matplotlib.use('Agg') matplotlib.use('Agg')
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
# import config,py
from config import *
dict_summary={"top3":[],"bottom3":[]}
form_value_to_sub_dimension_mapping = {
'govt':'Government',
'private':'Private',
'others':'Madrasas & Unrecognised',
'below_secondary':'Below Secondary',
'secondary':'Secondary',
'higher_secondary':'Higher Secondary',
'graduate':'Graduate',
'post_graduate':'Post Graduate',
'mphil_phd':'M.Phil / Ph.D',
'post_doctorate':'Post Doctorate',
'no_response':'No Response',
'good':'Good Condition',
'major':'Need Major Repair',
'minor':'Need Minor Repair',
'enrolment_lt_50': 'Enrolment <= 50' ,
'drinking_water': 'Schools with Drinking Water' ,
'girls_toilet': 'Schools with Girls\' Toilet' ,
'ramp': 'Schools with Ramp' ,
'single_classroom': 'Single Classroom Schools' ,
'single_teacher': 'Single Teacher Schools'
}
form_value_to_main_dimension_mapping = {
'elementary_enrolment_category': 'Elementary Enrolment by School Category',
'rural_elementary_enrolment': 'Rural Elementary Enrolment',
'schools_category':'School by Category',
'schools_rural':'Rural Schools',
'schools_gender':'School by Gender',
'teachers_by_category': 'Teachers by School Category',
'teachers_by_qualification':'Teachers by Educational Qualification'
}
main_dimension_mapping_for_index = {
'students': ('Elementary Enrolment by School Category', 'Enrolments'),
'teachers': ('Teachers by School Category', 'Number of Teachers'),
'schools': ('School by Category', 'Number of Schools'),
'classrooms': ('Total Classrooms', 'Number of Classrooms')
}
default_state_code = 27 # for Maharashtra default_state_code = 27 # for Maharashtra
......
dict_summary={"top3":[],"bottom3":[]}
form_value_to_sub_dimension_mapping = {
'govt':'Government',
'private':'Private',
'others':'Madrasas & Unrecognised',
'below_secondary':'Below Secondary',
'secondary':'Secondary',
'higher_secondary':'Higher Secondary',
'graduate':'Graduate',
'post_graduate':'Post Graduate',
'mphil_phd':'M.Phil / Ph.D',
'post_doctorate':'Post Doctorate',
'no_response':'No Response',
'good':'Good Condition',
'major':'Need Major Repair',
'minor':'Need Minor Repair',
'enrolment_lt_50': 'Enrolment <= 50' ,
'drinking_water': 'Schools with Drinking Water' ,
'girls_toilet': 'Schools with Girls\' Toilet' ,
'ramp': 'Schools with Ramp' ,
'single_classroom': 'Single Classroom Schools' ,
'single_teacher': 'Single Teacher Schools'
}
form_value_to_main_dimension_mapping = {
'elementary_enrolment_category': 'Elementary Enrolment by School Category',
'rural_elementary_enrolment': 'Rural Elementary Enrolment',
'schools_category':'School by Category',
'schools_rural':'Rural Schools',
'schools_gender':'School by Gender',
'teachers_by_category': 'Teachers by School Category',
'teachers_by_qualification':'Teachers by Educational Qualification'
}
main_dimension_mapping_for_index = {
'students': ('Elementary Enrolment by School Category', 'Enrolments'),
'teachers': ('Teachers by School Category', 'Number of Teachers'),
'schools': ('School by Category', 'Number of Schools'),
'classrooms': ('Total Classrooms', 'Number of Classrooms')
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment