Skip to content

Commit

Permalink
As new ECDC data had negative deaths stopping it
Browse files Browse the repository at this point in the history
  • Loading branch information
s-mishra authored May 15, 2020
1 parent 8ae05ce commit c1c86a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions web-fetch-and-run.r
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
print("Fetching data from ECDC")
fetch_ecdc_error <- system("Rscript data/fetch-ecdc.r",intern=FALSE)
if(fetch_ecdc_error != 0){
stop(sprintf("Error while fetching data from the ECDC! Code: %d", fetch_ecdc_error))
}
# print("Fetching data from ECDC")
# fetch_ecdc_error <- system("Rscript data/fetch-ecdc.r",intern=FALSE)
# if(fetch_ecdc_error != 0){
# stop(sprintf("Error while fetching data from the ECDC! Code: %d", fetch_ecdc_error))
# }

run_base_error <- system("Rscript base.r base",intern=FALSE)
if(run_base_error != 0){
stop(sprintf("Error while running base.r! Code: %d", run_base_error))
}
}

0 comments on commit c1c86a1

Please sign in to comment.