demographic¶
data.demographic
is a directory of modules connecting wikirepo to corresponding Wikidata features for demographic properties.
Modules included in wikirepo/data/demographic follow, with full details of needed property parameters being shown in the linked source codes:
Ethnic Diversity¶
Functions querying ‘P172’ (ethnic group) information.
This is done by querying ‘P1107’ (proportion) from each ‘P172’.
- Contents
query_prop_data
- wikirepo.data.demographic.ethnic_div.query_prop_data(dir_name=None, ents_dict=None, locations=None, depth=0, timespan=None, interval=None)[source]¶
Queries data for the module property for given location(s), depth, timespan and interval.
Life Expectancy¶
Functions querying ‘P2250’ (life expectancy) information.
- Contents
query_prop_data
- wikirepo.data.demographic.life_expectancy.query_prop_data(dir_name=None, ents_dict=None, locations=None, depth=0, timespan=None, interval=None)[source]¶
Queries data for the module property for given location(s), depth, timespan and interval.
Literacy¶
Functions querying ‘P6897’ (literacy rate) information.
- Contents
query_prop_data
- wikirepo.data.demographic.literacy.query_prop_data(dir_name=None, ents_dict=None, locations=None, depth=0, timespan=None, interval=None)[source]¶
Queries data for the module property for given location(s), depth, timespan and interval.
Out of School Children¶
Functions querying ‘P2573’ (number of out-of-school children) information.
- Contents
query_prop_data
- wikirepo.data.demographic.out_of_school_children.query_prop_data(dir_name=None, ents_dict=None, locations=None, depth=0, timespan=None, interval=None)[source]¶
Queries data for the module property for given location(s), depth, timespan and interval.
Population¶
Functions querying ‘P1082’ (population) information.
- Contents
query_prop_data