Skip to content

Commit 3eea0b8

Browse files
committed
fix docstrings
1 parent ecb2908 commit 3eea0b8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__The current version of RegCensusAPI is only compatible with Python 3.6 and newer.__
1+
_The current version of RegCensusAPI is only compatible with Python 3.6 and newer._
22

33
# RegCensus API
44

regcensus/api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ def get_series(seriesID=''):
166166

167167
def get_agencies(jurisdictionID):
168168
"""
169-
Get metadata for all or one specific agency
169+
Get metadata for all agencies of a specific jurisdiction
170170
171-
Args: agencyID (optional): ID for the agency
171+
Args: jurisdictionID: ID for the jurisdiction
172172
173173
Returns: pandas dataframe with the metadata
174174
"""
@@ -265,6 +265,8 @@ def list_series():
265265

266266
def list_agencies(jurisdictionID):
267267
"""
268+
Args: jurisdictionID: ID for the jurisdiction
269+
268270
Returns: dictionary containing names of agencies and associated IDs
269271
"""
270272
json = requests.get(

0 commit comments

Comments
 (0)