Skip to content

Commit 1985a0f

Browse files
author
Jonathan Nelson
committed
fix documents endpoint
1 parent c5de714 commit 1985a0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

regcensus/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_values(series, jurisdiction, date, filtered=True, summary=True,
114114
if industry:
115115
print('WARNING: Returning document-level industry results. '
116116
'This query make take several minutes.')
117-
url_call += '&summary=false'
117+
url_call = url_call.replace('/values', '/values/documents')
118118

119119
# Allows for unfiltered industry results to be retrieved. Includes
120120
# warning message explaining that these results should not be trusted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='regcensus',
7-
version='0.2.2',
7+
version='0.2.3',
88
description='Python package for accessing data from the QuantGov API',
99
url='https://github.com/QuantGov/regcensus-api-python',
1010
author='QuantGov',

0 commit comments

Comments
 (0)