Date - 11/10/2020
Release Tag - py1.4.3
Release Status - Current head of branch master
Bugs fixed in new release
- Return empty data structures instead of erroring when no data is available.
Date - 09/16/2020
Release Tag - py1.4.2
Release Status - Current head of branch master
New features added to the Python API
- Added batching to
get_stat_all
to handle querying for many StatisticalVariables across many Places.
Date - 08/25/2020
Release Tag - py1.4.1
Release Status - Current head of branch master
New features added to the Python API
get_stat_value
: returns a single value for the specified Place and StatisticalVariable.get_stat_series
: returns a single time series dict for the specified Place and StatisticalVariable.get_stat_all
: returns a nested dictionary of all possible time series for each Place and StatisticalVariable pair.
Date - 07/28/2020
Release Tag - v1.3.0
Release Status - Current head of branch master
New features added to the Python API
- Option to use the API without providing API key.
- New options to
get_stats
:measurement_method
,unit
, andobs_period
for finer-grain control over returned statistics.
Bugs fixed in new release
- Elegantly handle sparse responses from
query
.
Date - 06/04/2020
Release Tag - v1.2.0
Release Status - Current head of branch master
New features added to the Python API
- Add get_stats API to get observations given a StatisticalVariable and place dcids.
Bugs fixed in new release
- Check Null and empty data in REST API response field to avoid KeyError.
Date - 04/10/2020
Release Tag - v1.1.0
Release Status - Current head of branch master
New features added to the Python API
- Handle and ignore NaN in API argument.
Bugs fixed in new release
- Various small fix.
Date - 02/04/2020
Release Tag - v1.0.9
Release Status - Current head of branch master
New features added to the Python API
- Use six package for urllib.
Date - 02/04/2020
Release Tag - v1.0.7
Release Status - Current head of branch master
New features added to the Python API
- Support python 2.7.
Date - 01/29/2020
Release Tag - v1.0.6
Release Status - Current head of branch master
New features added to the Python API
- Add a new API for getting related places.
Date - 01/27/2020
Release Tag - v1.0.5
Release Status - Current head of branch master
New features added to the Python API
- Remove the dependency on Pandas and Numpy in package dependency.
- Replace requests with urllib.
Date - 11/6/2019
Release Tag - v1.0.2
Release Status - Current head of branch master
New features added to the Python API
- Remove the dependency on Pandas.
Date - 10/2/2019
Release Tag - v1.0.1
Release Status - Current head of branch stable-1.x
New features added to the Python API
- Added two new functions
get_pop_obs
andget_place_obs
- SPARQL query is now supported as a function
query
instead of a class. - Added documentation on how to provision an API key and provide it to the API
Bugs fixed in new release
- Fixed various typos and formatting issues in the documentation.
- If the index of the
pandas.Series
passed into functions such asget_populations
andget_observations
was not contiguous, then the assignment step would not properly align the values returned by calling the function. This is because thepandas.Series
returned by the function would have a different index than the given series. This is fixed by assigning the index of the returned series to that of the given series.
Date - 8/9/2019
Release Tag - v1.0.0
New release of the Python API.
- New functions in the API built on top of the Data Commons REST API.
get_property_labels
get_property_values
get_triples
get_populations
get_observations
get_places_in
- New tests and examples checked into
datacommons/test
anddatacommons/examples
- Full documentation released on readthedocs
Date - 8/13/2019
Release Tag - v0.4.3
Release Status - Latest on PyPI. Current head of branch stable-0.x
.
Patch release that fixes bugs in datacommons.Client
.
- Functions
get_cities
andget_states
now providestypeOf
constraints in their datalog queries.
Initial release of the Data Commons API.