hmsidwR

This package provides the data used in the Health Metrics and the Spread of Infectious Diseases with R book

https://github.com/fgazzelloni/hmsidwr

Science Score: 36.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
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords

deaths health-data infectious-diseases lifeexpectancy
Last synced: 9 months ago · JSON representation

Repository

This package provides the data used in the Health Metrics and the Spread of Infectious Diseases with R book

Basic Info
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 1
Topics
deaths health-data infectious-diseases lifeexpectancy
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

options(rmarkdown.html_vignette.check_title = FALSE)
```

# hmsidwR - Health Metrics and the Spread of Infectious Diseases



[![DOI](https://zenodo.org/badge/768163778.svg)](https://zenodo.org/badge/latestdoi/768163778) [![R-CMD-check](https://github.com/Fgazzelloni/hmsidwR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Fgazzelloni/hmsidwR/actions/workflows/R-CMD-check.yaml) [![CRAN status](https://www.r-pkg.org/badges/version/hmsidwR)](https://CRAN.R-project.org/package=hmsidwR)



The goal of `{hmsidwR}` is to provide the set of data used in the **Health Metrics and the Spread of Infectious Diseases Machine Learning Applications and Spatial Modelling Analysis** book. It also provides a set of functions to download data such as `getunz()`, and `gbd_get_data()` which allows the user to download data for the IHME SDG-API. With the `theme_hmsid()` is possible a customization of the ggplot2 theme, the `string_search()` function scan all folders and files to find a specific string. And, the `kbfit()` function fits a variogram model and then a set of kriging models to spatial data to select the best model based on metrics.

## Installation

``` r
install.packages("hmsidwR")
```

You can install the development version of `hmsidwR`, which might be always a bit more updated than the CRAN version, from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("Fgazzelloni/hmsidwR")
```

## Example

This is a basic example which shows you how to solve a common problem:

```{r load data, warning=FALSE, message=FALSE}
library(hmsidwR)
library(dplyr)
data(sdi90_19)
head(subset(sdi90_19, location == "Global"))
```

```{r example1}
sdi_avg <- sdi90_19 |>
  group_by(location) |>
  reframe(sdi_avg = round(mean(value), 3))

head(sdi_avg)
```

```{r example2}
sdi90_19 |>
  filter(location %in% c("Global", "Italy", "France", "Germany")) |>
  group_by(location) |>
  reframe(sdi_avg = round(mean(value), 3)) |>
  head()
```

Owner

  • Name: Federica Gazzelloni (she/her)
  • Login: Fgazzelloni
  • Kind: user
  • Location: World
  • Company: @rladies

Independent External Expert (IEE) - Certified Carpentries Instructor - IHME Collaborator | #Statistics | #Actuarial | #rstats | @rladies Rome Events Organaizer

GitHub Events

Total
  • Issues event: 2
  • Watch event: 1
  • Push event: 35
Last Year
  • Issues event: 2
  • Watch event: 1
  • Push event: 35

Packages

  • Total packages: 1
  • Total downloads:
    • cran 469 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: hmsidwR

Health Metrics and the Spread of Infectious Diseases

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 469 Last month
Rankings
Dependent packages count: 27.8%
Dependent repos count: 34.3%
Average: 49.7%
Downloads: 87.0%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pr-commands.yaml actions
  • actions/checkout v4 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
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • stats * imports
  • testthat >= 3.0.0 suggests