Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chris Jewell
covid19uk
Commits
ef4794bd
Commit
ef4794bd
authored
Apr 11, 2021
by
Chris Jewell
Browse files
Workaround to switch to gov.uk locally downloaded csv file.
parent
ed26b705
Changes
2
Hide whitespace changes
Inline
Side-by-side
covid/data/case_data.py
View file @
ef4794bd
...
...
@@ -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
)
...
...
example_config.yaml
View file @
ef4794bd
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment