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
UMR-ASTRE
Covid19-Mortality-Visualisation
Commits
a8dc1d83
Commit
a8dc1d83
authored
Dec 08, 2020
by
esthervankleef
Browse files
Change stringency function to take on date_range from plan
parent
31a7444f
Pipeline
#23159
passed with stage
in 4 minutes and 53 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/functions.R
View file @
a8dc1d83
## get lockdown data https://covidtracker.bsg.ox.ac.uk/
## Blavatnik School of Government / Oxford Univ
## Oxford COVID-19 Government Response Tracker
stringency
<-
function
(
date_range
=
"2020-01-01/2020-05-31"
){
#stringency <- function(date_range = "2020-01-01/2020-05-31"){
stringency
<-
function
(
date_range
){
web
<-
"https://covidtrackerapi.bsg.ox.ac.uk/"
api
<-
"api/v2/stringency/"
fjs
<-
paste
(
web
,
...
...
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