Skip to content

infectiousR

0.1.1Package record

Access Infectious and Epidemiological Data via 'disease.sh API'

0packages depend
15.2Kdownloads / year
68.3%test coverage
13/13flavors OK

Overview

About

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/.

Changes in 0.1.1

Bug Fixes

  • Fixed graceful failure handling for all API functions when internet is unavailable
  • Functions now use message() instead of warning() for connection errors
  • Added timeout (10 seconds) to all API requests to prevent hanging
  • Improved error messages to be more informative for users
  • All functions now return NULL gracefully when API is unavailable
  • Updated documentation to reflect graceful failure behavior
  • Changed examples from \donttest{} to \dontrun{} for better CRAN compliance

CRAN Compliance

  • Package now complies with CRAN policy: "Packages which use Internet resources should fail gracefully with an informative message if the resource is not available"

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-13
  • ERROR12 OK, 1 ERROR2026-08-06
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-21
Show 4 earlier changesHide 4 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-19
  • OK14 OK2026-04-13
  • ERROR13 OK, 1 ERROR2026-03-30
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 352 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.1.1Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
47includes a package overview page
Examples that run
13%1 run in a plain check (under a condition) · 7 never run
Exported functions with examples
17%
Documented parameters
10%
Return-value docs
17%
Help pages citing references
15%

Downloads

15.2K
CRAN downloads in the past year
Rank #2,535 · ~42/day · ~1.3K/mo
Daily download trend is not available in this view yet.
2.6K30 days
6.3K90 days
15.2K1 year
Compare downloads with other packages →
Also on84 r2u7 autocran

Repository

8Stars
0Forks
0Open issues
0Open PRs
0Releases
3Commits
1Commit identities
3 commits · Last activity 2025-11-09 · 0% stars, 30d · Default branch at 0.1.2, ahead of CRAN 0.1.1 (checked 2026-10-22)
Responsiveness
not measured

Stars over time

2025-09-17 · 52026-07-07 · 8
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/lightbluetitan/infectiousr on 2026-10-22.

Docs source (2)
pkgdown

GitHub Pages site last deployed 2025-11-09

pkgdown site last built 2025-11-09

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing infectiousR adds 12 packages (8 with compiled code, 3.9 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, curl 714 KB.

Depends (1)
R >= 4.1.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2025)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    record
    2025-11-09 · current release · diff ↗
  • 0.1.0
    record
    2025-06-16
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-06-16
Total releases
2 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
103 KB / 38 files
Download size
256 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("infectiousR")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for infectiousR version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy