"""
Out of School Children
----------------------
Functions querying 'P2573' (number of out-of-school children) information.
Contents
query_prop_data
"""
from wikirepo.data import data_utils
pid = "P2573"
sub_pid = None
col_name = "num_oosc"
col_prefix = None
ignore_char = ""
span = False
[docs]def query_prop_data(
dir_name=None, ents_dict=None, locations=None, depth=0, timespan=None, interval=None
):
"""
Queries data for the module property for given location(s), depth, timespan and interval.
"""
df, ents_dict = data_utils.query_wd_prop(
dir_name=dir_name,
ents_dict=ents_dict,
locations=locations,
depth=depth,
timespan=timespan,
interval=interval,
pid=pid,
sub_pid=sub_pid,
col_name=col_name,
col_prefix=col_prefix,
ignore_char=ignore_char,
span=span,
)
return df, ents_dict