You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
Issue can be reproduced by running example.py with the 'region' parameter set to 500 (without quotes):
TypeError: join() argument must be str or bytes, not 'int'
Note that the issue can't be fixed by setting the 'region' parameter to '500' (as a string) because pull_data_from_api() requires params['region'] to be an integer.
The text was updated successfully, but these errors were encountered:
First of all, this is a great package. A big thanks to the talented people at Pew Research for putting this out there.
It seems like the function
_get_file_path()
insearch_sampler/_init_.py
is rejecting DMA codes since the codes are stored as integers. At line 144:Issue can be reproduced by running
example.py
with the 'region' parameter set to500
(without quotes):Note that the issue can't be fixed by setting the 'region' parameter to
'500'
(as a string) becausepull_data_from_api()
requiresparams['region']
to be an integer.The text was updated successfully, but these errors were encountered: