localcovid19now
localcovid19now: processing and mapping COVID-19 case data at subnational scales - Published in JOSS (2023)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 8 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
processing and mapping COVID-19 case data at subnational scales
Basic Info
- Host: GitHub
- Owner: sjbeckett
- License: mit
- Language: R
- Default Branch: main
- Homepage: https://sjbeckett.github.io/localcovid19now/
- Size: 619 MB
Statistics
- Stars: 5
- Watchers: 6
- Forks: 6
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
localcovid19now
This repository serves as a framework to assemble and visualize recent case data from regional data sources across the globe. The package was assembled by researchers at the Georgia Institute for Technology and the Applied Bioinformatics Laboratory, and forms a core component of exposure risk calculations used in the COVID-19 Event Risk Tool.
We compile data from a variety of sources.
A description of the package can be found here or in our paper.
Citation
Please cite our work as:
Beckett, S.J., Brandel-Tanis F.A., Nguyen Q., Chande A.T., Rishishwar L., Andris C., Weitz J.S. 2023. localcovid19now: processing and mapping COVID-19 case data at subnational scales. Journal of Open Source Software, 8(81), 4898, https://doi.org/10.21105/joss.04898
Installation
The localcovid19now library is available in R. It can be installed by running:
```R library("devtools") install_github("sjbeckett/localcovid19now")
library("localcovid19now") ``` We note that our package uses other common packages across the R ecosystem to run. The installation of these packages should be initialized by the above commands. We also note that some users may need to change default timeout settings in order to install the package.
Use
Functionality is provided to load in data for a particular country, for example: ```R US <- LoadData("LoadUS")
Malaysia <- LoadData("LoadMalaysia")
USandMalaysia <- LoadData(c("LoadUS","LoadMalaysia"))
Note that to load data for the Philippines the googledrive package is used, requiring users' google credentials. The permission to "See, edit, create, and delete all of your Google Drive files." needs to be checked for this to work.
See more here: https://googledrive.tidyverse.org/reference/drive_auth.html
credentials can be set before running the function:
googledrive::drive_auth(email = TRUE)
Philippines <- LoadData("LoadPhilippines")
A list of loading options is given by:
countrylist
``` or to load all available datasets as:
```R GLOBALMAP <- LoadData() #note, by default, this applies tidying to data such that countries whose data is older than 30 days is dropped.
can additionally see the full scope of potential datasets as:
GLOBALMAP2 <- LoadData(dropNACountry = FALSE) ```
Once loaded, the per capita active case data can be mapped with built in helper functions: ```R
show per capita active cases per 100,000 people in leaflet for GLOBALMAP
PerCapitaMap_leaflet(GLOBALMAP,100000)
show per capita active cases per 100,000 people in tmap for GLOBALMAP2
PerCapitaMap_tmap(GLOBALMAP2,100000) ```

Additionally, with a provided assumed ascertainment bias (ratio between true infections and recorded cases), the risk that one or more people in a group of a particular size can be estimated and mapped:
```R
assume an ascertainment bias of 4 infections per recorded case.
US$AB <- 4
show risk that one or more people are infectious in a group of 50 using leaflet
EventMap_leaflet(US,50,US$AB)
show risk that one or more people are infectious in a group of 100 using tmap
EventMap_tmap(US,100,US$AB)
maps can be saved using tmap commands. Here we also use a projection more suited to the US:
MAP = EventMaptmap(US,100,US$AB,projection=5070) tmap::tmapsave(MAP,"US_RiskMap.png")
Some resources for choosing projections can be found here: https://proj.org/usage/index.html and here: https://epsg.io/ and
we can also create a table of event risk by location as:
createc19rdata(dfin = US, ascbias_list = cbind(AB4 = US$AB)) ```

We caution that the case ascertainment bias may differ both across different regions and across time (due to differences in testing strategies).
Community guidelines
We welcome contributions from the community. We encourage and recommend that feedback, bug reports, and feature requests should first be documented as an Issue on GitHub.
Owner
- Name: Stephen Beckett
- Login: sjbeckett
- Kind: user
- Location: Atlanta
- Company: Georgia Institute of Technology
- Website: http://sjbeckett.github.io
- Twitter: BeckettStephen
- Repositories: 17
- Profile: https://github.com/sjbeckett
JOSS Publication
localcovid19now: processing and mapping COVID-19 case data at subnational scales
Authors
School of Biological Sciences, Georgia Institute of Technology, Atlanta, GA, United States of America
School of City and Regional Planning, Georgia Institute of Technology, Atlanta, GA, United States of America, School of Civil and Environmental Engineering, Georgia Institute of Technology, Atlanta, GA, United States of America
School of Biological Sciences, Georgia Institute of Technology, Atlanta, GA, United States of America, School of Chemical and Biomolecular Engineering, Georgia Institute of Technology, Atlanta, GA, United States of America
Applied Bioinformatics Laboratory, Georgia Institute of Technology, Atlanta, GA, United States of America
School of Biological Sciences, Georgia Institute of Technology, Atlanta, GA, United States of America, Applied Bioinformatics Laboratory, Georgia Institute of Technology, Atlanta, GA, United States of America
Tags
epidemiology COVID-19 mappingGitHub Events
Total
Last Year
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Stephen Beckett | b****j@g****m | 130 |
| FreyjaBrandelTanis | 3****t | 79 |
| Aroon Chande | g****b@a****o | 16 |
| Kaitlyn Johnson | k****n@r****g | 5 |
| quannguyenminh103 | q****3@g****m | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 26
- Total pull requests: 42
- Average time to close issues: about 2 months
- Average time to close pull requests: 6 days
- Total issue authors: 7
- Total pull request authors: 4
- Average comments per issue: 2.46
- Average comments per pull request: 1.14
- Merged pull requests: 36
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ar0ch (12)
- sjbeckett (8)
- welch16 (2)
- rkassa (1)
- mbkumar (1)
- quannguyenminh103 (1)
- jeanpaulrsoucy (1)
Pull Request Authors
- sjbeckett (17)
- freyja-bt (12)
- ar0ch (10)
- kaitejohnson (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v1 composite
- openjournals/openjournals-draft-action master composite
- actions/checkout v3 composite
- actions/upload-artifact v3 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action 4.1.4 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v2 composite
- r-lib/actions/pr-fetch v2 composite
- r-lib/actions/pr-push v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- tonyhallett/artifacts-url-comments v1.1.0 composite
- R >= 3.50 depends
- COVID19 * imports
- dplyr * imports
- jsonlite * imports
- lubridate * imports
- magrittr * imports
- purrr * imports
- readxl * imports
- rlang * imports
- sf * imports
- stringr * imports
- tibble * imports
- tidyr * imports
- tmap * imports
- usethis * imports
- utils * imports
- vroom * imports
- RColorBrewer * suggests
- glue * suggests
- googledrive * suggests
- here * suggests
- htmltools * suggests
- htmlwidgets * suggests
- httr * suggests
- knitr * suggests
- leaflet * suggests
- pdftools * suggests
- rmapshaper * suggests
- rmarkdown * suggests
- rvest * suggests
- shiny * suggests
- testthat >= 3.0.0 suggests