hmsidwR
This package provides the data used in the Health Metrics and the Spread of Infectious Diseases with R book
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
- Host: GitHub
- Owner: Fgazzelloni
- License: other
- Language: R
- Default Branch: main
- Homepage: https://fgazzelloni.github.io/hmsidwR/
- Size: 11.3 MB
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
[](https://zenodo.org/badge/latestdoi/768163778) [](https://github.com/Fgazzelloni/hmsidwR/actions/workflows/R-CMD-check.yaml) [](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
- Website: https://federicagazzelloni.com/
- Twitter: fgazzelloni
- Repositories: 108
- Profile: https://github.com/Fgazzelloni
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
- Homepage: https://github.com/Fgazzelloni/hmsidwR
- Documentation: http://cran.r-project.org/web/packages/hmsidwR/hmsidwR.pdf
- License: MIT + file LICENSE
-
Latest release: 1.1.2
published over 1 year ago
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