Skip to content

Commit

Permalink
Update get_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ValerioGiuffrida authored May 22, 2024
1 parent 18867d1 commit 956ec7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_bridges_utils/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def shapes_get_survey(surveyid, yamlpath, access_type, page_size=200):
'public': api_instance.household_public_base_data_get
}.get(access_type)(survey_id=surveyid, page=page, env=env)
print(f"Fetching page {page}")
print(f"Items: {len(api_survey.items)}")))
print(f"Items: {len(api_survey.items)}")
print("\n ---- \n")
responses.extend(
[item for item in api_survey.items]
Expand Down Expand Up @@ -190,4 +190,4 @@ def shapes_get_exchangerates(country_iso3, yamlpath, page_size=1000):
return df

if __name__ == "__main__":
pass
pass

0 comments on commit 956ec7a

Please sign in to comment.