Policy Measures: Effective or ineffective
Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus. It began spreading in earnest in the early 2020’s and has led to a global crisis of never-seen before proportions. People are being forced to stay indoors to reduce risk of exposure and spread of the disease.
Algeria, a country in the Northern part of Africa has also had to endure this crisis.
This blog post is aimed at investigating how the government has battled the crisis and whether the circuit-breaker measures actually did what they were supposed to.
Data sets used in this report come from two main sources -
It contains a collection of data with 62 variables for COVID-19 dataset. The data is available from 2020-02-25 to 2021-08-27 upon filtering for Algeria. The data sets are then filtered to select only the appropriate variables. Out of 62 variables in the COVID-19 dataset, only 5 were selected while 8 out of the 18 variables in the government measures dataset were selected. These tables are then merged together using the full join technique to get our final working dataset.
Descriptions of variablesVariables <chr> | Description <chr> |
---|---|
date | Date values |
new_cases | New cases recorded on date |
new_deaths | New deaths recorded on date |
MEASURE | Measures types and categories |
COMMENTS | Description of measure taken with further details |
Two variables of the dataset new_cases and new_deaths show a large range of values that need to be analysed. The summary of their distribution statistics is visible in the table below -
Summary StatisticsVariables <chr> | Mean <dbl> | SD <dbl> | Maximum.Value <dbl> | |
---|---|---|---|---|
new_cases | 354.035599 | 312.89990 | 1927 | |
new_deaths | 9.593023 | 7.43483 | 49 |
The below table gives an opportunity to take a look at the various policy measures taken by the government of Algeria over the pandemic and see whether those have borne fruit. The sparkline plots display the occurrence of new cases and deaths on a daily basis for 2 weeks post the measure being taken.
While we don’t see clear evidence of these measures being completely successful in every case, here are some generalizations that can be gathered -
- Border checks and closures
- Closure of businesses and public services
- Awareness campaigns
- Curfews
From the above table and data it is visible that none of the measures can be described as a resounding and monumental success. Further exploration is needed to check whether combinations of the more successful measures out of these would be able to succeed in a more complete fashion in combating the spread of the virus.
The following improvements can be made to the blog post -
Hasell, J., Mathieu, E., Beltekian, D. et al. A cross-country database of COVID-19 testing. Sci Data 7, 345 (2020). https://doi.org/10.1038/s41597-020-00688-8
Covid-19 government measures dataset. ACAPS. (2020, December 10). https://www.acaps.org/covid-19-government-measures-dataset.
Gallagher, J. (2020, November 20). Covid: What is a circuit-breaker could one fight the virus? BBC News. https://www.bbc.com/news/health-54206582.
Wickham et al., (2019). Welcome to the tidyverse. Journal of Open Source Software, 4(43), 1686, https://doi.org/10.21105/joss.01686
Richard Iannone (2021). fontawesome: Easily Work with ‘Font Awesome’ Icons. R package version 0.2.2. https://CRAN.R-project.org/package=fontawesome
Garrett Grolemund, Hadley Wickham (2011). Dates and Times Made Easy with lubridate. Journal of Statistical Software, 40(3), 1-25. URL https://www.jstatsoft.org/v40/i03/.
Ramnath Vaidyanathan, Kent Russell and Gareth Watts (2016). sparkline: ‘jQuery’ Sparkline ‘htmlwidget’. R package version 2.0. https://CRAN.R-project.org/package=sparkline
Yihui Xie, Joe Cheng and Xianying Tan (2021). DT: A Wrapper of the JavaScript Library ‘DataTables’. R package version 0.18. https://CRAN.R-project.org/package=DT
JJ Allaire and Yihui Xie and Jonathan McPherson and Javier Luraschi and Kevin Ushey and Aron Atkins and Hadley Wickham and Joe Cheng and Winston Chang and Richard Iannone(2021). rmarkdown: Dynamic Documents for R. R package version 2.9. URL https://rmarkdown.rstudio.com.
Yihui Xie and J.J. Allaire and Garrett Grolemund (2018). R Markdown: The Definitive Guide. Chapman and Hall/CRC. ISBN 9781138359338. URL https://bookdown.org/yihui/rmarkdown.
Yihui Xie and Christophe Dervieux and Emily Riederer (2020). R Markdown Cookbook. Chapman and Hall/CRC. ISBN 9780367563837. URL https://bookdown.org/yihui/rmarkdown-cookbook.
Hao Zhu (2021). kableExtra: Construct Complex Table with ‘kable’ and Pipe Syntax. R package version 1.3.4. https://CRAN.R-project.org/package=kableExtra
Yihui Xie (2021). knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.31.
Yihui Xie (2015) Dynamic Documents with R and knitr. 2nd edition. Chapman and Hall/CRC. ISBN 978-1498716963
Yihui Xie (2014) knitr: A Comprehensive Tool for Reproducible Research in R. In Victoria Stodden, Friedrich Leisch and Roger D. Peng, editors, Implementing Reproducible Computational Research. Chapman and Hall/CRC. ISBN 978-1466561595