Discussions
Advan foot traffic monthly patterns get_file_list error
17 days ago by Emil Kee-Tui
I have been getting the following error when running get_file_list
for the Advan foot traffic monthly patterns:
files_df = ddp.get_file_list(API_KEY, PRODUCT_API_PATH, start_date = 2022-01-01, end_date = 2022-01-31, print_info = False)
File "Lib\site-packages\deweydatapy\download.py", line 250, in get_file_list
files_df, selection_meta, pages_meta = get_file_list_full(apikey, dataset_path,
~~^^^^^^^^^^^^^^^^^^^^^^```start_page, end_page,
^^^^^^^^^^^^^^^^^^^^^
start_date, end_date,
^^^^^^^^^^^^^^^^^^^^^
meta,
^^^^^
print_info)
^^^^^^^^^^^
File "Lib\site-packages\deweydatapy\download.py", line 193, in get_file_list_full~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' ```
The error has come up for start dates: 2018-01-01 and end dates 2018-01-31.