infectiousR
Access Infectious and Epidemiological Data via 'disease.sh API'
Description
Provides functions to access real-time infectious disease data from the 'disease.sh API', including COVID-19 global, US states, continent, and country statistics, vaccination coverage, influenza-like illness data from the Centers for Disease Control and Prevention (CDC), and more. Also includes curated datasets on a variety of infectious diseases such as influenza, measles, dengue, Ebola, tuberculosis, meningitis, AIDS, and others. The package supports epidemiological research and data analysis by combining API access with high-quality historical and survey datasets on infectious diseases. For more details on the 'disease.sh API', see <https://disease.sh/>.
Downloads
935
Last 30 days
3941st
2.2K
Last 90 days
5.6K
Last year
Trend: +33.8% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | ERROR |
Check details (1 non-OK)
re-building of vignette outputs
Error(s) in re-building vignettes:
--- re-building 'infectiousR_vignette.Rmd' using rmarkdown
Quitting from infectiousR_vignette.Rmd:56-78 [covid-usa-simple-plot]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `UseMethod()`:
! no applicable method for 'slice_head' applied to an object of class "NULL"
---
Backtrace:
▆
1. ├─covid_data %>% slice_head(n = 5) %>% ...
2. ├─dplyr::select(., where(~!all(is.na(.))))
3. └─dplyr::slice_head(., n = 5)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'infectiousR_vignette.Rmd' failed with diagnostics:
no applicable method for 'slice_head' applied to an object of class "NULL"
--- failed re-building 'infectiousR_vignette.Rmd'
SUMMARY: processing the following file failed:
'infectiousR_vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'infectiousR_vignette.Rmd' using rmarkdown Quitting from infectiousR_vignette.Rmd:56-78 [covid-usa-simple-plot] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <erro ...[truncated]... plicable method for 'slice_head' applied to an object of class "NULL" --- failed re-building 'infectiousR_vignette.Rmd' SUMMARY: processing the following file failed: 'infectiousR_vignette.Rmd' Error: Vignette re-building failed. Execution halted