geographic¶
data.geographic
is a directory of modules connecting wikirepo to corresponding Wikidata features for geographic properties.
Modules included in wikirepo/data/geographic follow, with full details of needed property parameters being shown in the linked source codes:
Area¶
Functions querying ‘P2046’ (area) information.
- Contents
query_prop_data
- wikirepo.data.geographic.area.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.
Continent¶
Functions querying ‘P30’ (continent) information.
- Contents
query_prop_data
- wikirepo.data.geographic.continent.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.
Country¶
Functions querying ‘P17’ (country) information.
- Contents
query_prop_data