Commit ef4794bd authored by Chris Jewell's avatar Chris Jewell
Browse files

Workaround to switch to gov.uk locally downloaded csv file.

parent ed26b705
......@@ -132,7 +132,7 @@ class CasesData:
measure,
areacodes,
)
elif (settings["input"] == "url") and (settings["format"] == "json"):
elif settings["format"].lower() == "gov":
df = CasesData.adapt_gov_api(
df, date_low, date_high, pillars, measure, areacodes
)
......
......@@ -13,7 +13,7 @@ ProcessData:
address: https://api.coronavirus.data.gov.uk/v2/data?areaType=ltla&metric=newCasesBySpecimenDate&format=json
pillars: None # Capability to filter Pillar 1 and 2 testing data from PHE confidential line listing
measure: None # Capability to filter date of test report from PHE confidential line listing
format: json
format: gov
AreaCodeData:
input: json
......
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