Commit 3bd99ec5 authored by Bruno Duyé's avatar Bruno Duyé

Fix #304: download fails - invalid parameter name

parent 8af29e28
Pipeline #15579 failed with stage
in 2 minutes and 7 seconds
......@@ -55,9 +55,8 @@ APPENDIX_TO_DOWNLOAD = [
'code': 'FixedAssets',
'name': 'Appendix D – Fixed Assets',
'api': {
# "TableID" is deprecated in API doc, but "TableName" is not supported here ...
'datasets_list_url': 'https://apps.bea.gov/api/data/?&UserID={api_user_id}&method=GetParameterValues&DataSetName={appendix_code}&ParameterName=TableID',
'series_data_url': 'https://apps.bea.gov/api/data/?&UserID={api_user_id}&method=GetData&DataSetName={appendix_code}&TableID={dataset_code}&Year=X',
'datasets_list_url': 'https://apps.bea.gov/api/data/?&UserID={api_user_id}&method=GetParameterValues&DataSetName={appendix_code}&ParameterName=TableName',
'series_data_url': 'https://apps.bea.gov/api/data/?&UserID={api_user_id}&method=GetData&DataSetName={appendix_code}&TableName={dataset_code}&Year=X',
},
'dimensions': [
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment