-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The docstrings and docs indicate that get_stats returns
"A dictionary mapping each Place identified by the given dcid to its name and the time series associated with the StatisticalVariable identified by the given stats_var and filtered by obs_dates."
Which is not true.
To Reproduce
Steps to reproduce the behavior:
> dc.get_stats(['country/USA'], 'Count_Person')
{'country/USA': {'data': {'2019': 328239523},
'is_dc_aggregate': True,
'place_dcid': 'country/USA',
'place_name': 'United States'}}
Expected behavior
> dc.get_stats(['country/USA'], 'Count_Person')
{'country/USA': {'data': {'2019': 328239523},
'place_name': 'United States'}}
OR updated docstring.
Screenshots
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working