institutional¶
data.institutional
is a directory of modules connecting wikirepo to corresponding Wikidata features for institutional properties.
Modules included in wikirepo/data/institutional follow, with full details of needed property parameters being shown in the linked source codes:
BTI Government Index¶
Functions querying ‘P8476’ (BTI Governance Index) information.
- Contents
query_prop_data
- wikirepo.data.institutional.bti_gov_idx.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.
BTI Status Index¶
Functions querying ‘P8477’ (BTI Status Index) information.
- Contents
query_prop_data
- wikirepo.data.institutional.bti_status_idx.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.
Capital¶
Functions querying ‘P36’ (capital) information.
- Contents
query_prop_data
- wikirepo.data.institutional.capital.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.
Freedom House Category¶
Functions querying ‘PXYZ’ (freedom house category) information.
This is done via ‘P1552’ (has quality) applied to regions. Ideally a property would be created for this that would allow it to be traced over time.
- Contents
query_prop_data
- wikirepo.data.institutional.fh_category.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.
Human Development Index¶
Functions querying ‘P1081’ (human development index) information.
- Contents
query_prop_data
- wikirepo.data.institutional.human_dev_idx.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.
Organization Membership¶
Functions querying organizational information.
This is done via ‘P463’ (member of) applied to locations.
- Contents
query_prop_data