cleanepi

R package to clean and standardize epidemiological data

https://github.com/epiverse-trace/cleanepi

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.9%) to scientific vocabulary

Keywords

data-cleaning epidemiology epiverse r r-package
Last synced: 6 months ago · JSON representation ·

Repository

R package to clean and standardize epidemiological data

Basic Info
Statistics
  • Stars: 8
  • Watchers: 3
  • Forks: 3
  • Open Issues: 20
  • Releases: 4
Topics
data-cleaning epidemiology epiverse r r-package
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation

README.Rmd

---
output: github_document
always_allow_html: true
editor_options: 
  markdown: 
    wrap: 72
---











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

# {{ packagename }}: Clean and standardize epidemiological data 



[![License:
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![R-CMD-check](https://github.com/epiverse-trace/cleanepi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/epiverse-trace/cleanepi/actions/workflows/R-CMD-check.yaml)
[![Codecov test
coverage](https://codecov.io/gh/epiverse-trace/cleanepi/branch/main/graph/badge.svg)](https://app.codecov.io/gh/epiverse-trace/cleanepi?branch=main)
[![lifecycle-experimental](https://raw.githubusercontent.com/reconverse/reconverse.github.io/master/images/badge-experimental.svg)](https://www.reconverse.org/lifecycle.html#experimental)
[![DOI](https://zenodo.org/badge/607159823.svg)](https://zenodo.org/doi/10.5281/zenodo.11473984)



**{{ packagename }}** is an  R package designed for cleaning, curating, and standardizing epidemiological data. It streamlines various data cleaning tasks that are typically expected when working with datasets in epidemiology.

Key functionalities of **{{ packagename }}** include:

1. **Removing irregularities**: It removes duplicated and empty rows and columns, as well as columns with constant values.

2. **Handling missing values**: It replaces missing values with the standard `NA` format, ensuring consistency and ease of analysis.

3. **Ensuring data integrity**: It ensures the uniqueness of uniquely identified columns, thus maintaining data integrity and preventing duplicates.

4. **Date conversion**: It offers functionality to convert character columns to Date format under specific conditions, enhancing data uniformity and facilitating temporal analysis. It also offers conversion of numeric values written in letters into numbers.

5. **Standardizing entries**: It can standardize column entries into specified formats, promoting consistency across the dataset.

6. **Time span calculation**: It calculates the time span between two elements of type `Date`, providing valuable demographic insights for epidemiological analysis.

**{{ packagename }}** operates on data frames or similar structures like tibbles, as well as linelist objects commonly used in epidemiological research. It returns the processed data in the same format, ensuring seamless integration into existing workflows. Additionally, it generates a comprehensive report detailing the outcomes of each cleaning task.


**{{ packagename }}** is developed by  the [Epiverse-TRACE](https://data.org/initiatives/epiverse/) team at the [Medical Research Council The Gambia unit at the London School of Hygiene and Tropical Medicine](https://www.lshtm.ac.uk/research/units/mrc-gambia).


## Installation

**{{ packagename }}** can be installed from CRAN using

```{r message=FALSE, eval=FALSE}
install.packages("cleanepi")
```

The latest development version of **{{ packagename }}** can be installed from  [GitHub](https://epiverse-trace.github.io/cleanepi/).

```{r message=FALSE}
if (!require("pak")) install.packages("pak")
pak::pak("{{ gh_repo }}")
library(cleanepi)
```

## Quick start

The main function in **{{ packagename }}** is `clean_data(),` which internally makes call of almost all standard data cleaning functions, such as removal of empty and duplicated rows and columns, replacement of missing values, etc. However, each function can also be called independently to perform a specific task. This mechanism is explained in details in the **vignette**. Below is typical example of how to use the `clean_data()` function. 


```{r eval=TRUE}
# READING IN THE TEST DATASET
test_data <- readRDS(
  system.file("extdata", "test_df.RDS", package = "cleanepi")
)
```

```{r echo=FALSE, eval=TRUE}
test_data %>%
  kableExtra::kbl() %>%
  kableExtra::kable_paper("striped", font_size = 14, full_width = TRUE) %>%
  kableExtra::scroll_box(height = "200px", width = "100%",
                         box_css = "border: 1px solid #ddd; padding: 5px; ",
                         extra_css = NULL,
                         fixed_thead = TRUE)
```

```{r eval=TRUE}
# READING IN THE DATA DICTIONARY
test_dictionary <- readRDS(
  system.file("extdata", "test_dictionary.RDS", package = "cleanepi")
)
```

```{r echo=FALSE, eval=TRUE}
test_dictionary %>%
  kableExtra::kbl() %>%
  kableExtra::kable_paper("striped", font_size = 14, full_width = TRUE)
```

```{r eval=TRUE}
# DEFINING THE CLEANING PARAMETERS
replace_missing_values <- list(target_columns = NULL, na_strings = "-99")
remove_duplicates <- list(target_columns = NULL)
standardize_dates <- list(
  target_columns = NULL,
  error_tolerance = 0.4,
  format = NULL,
  timeframe = as.Date(c("1973-05-29", "2023-05-29")),
  orders = list(
    world_named_months = c("Ybd", "dby"),
    world_digit_months = c("dmy", "Ymd"),
    US_formats = c("Omdy", "YOmd")
  )
)
standardize_subject_ids <- list(
  target_columns = "study_id",
  prefix = "PS",
  suffix = "P2",
  range = c(1, 100),
  nchar = 7
)
remove_constants <- list(cutoff = 1)
standardize_column_names <- list(
  keep = "date.of.admission",
  rename = c(DOB = "dateOfBirth")
)
to_numeric <- list(target_columns = "sex", lang = "en")
```

```{r eval=TRUE}
# PERFORMING THE DATA CLEANING
cleaned_data <- clean_data(
  data = test_data,
  standardize_column_names = standardize_column_names,
  remove_constants = remove_constants,
  replace_missing_values = replace_missing_values,
  remove_duplicates = remove_duplicates,
  standardize_dates = standardize_dates,
  standardize_subject_ids = standardize_subject_ids,
  to_numeric = to_numeric,
  dictionary = test_dictionary,
  check_date_sequence = NULL
)
```

```{r echo=FALSE, eval=TRUE}
# VISUALISE THE CLEANED DATASET
cleaned_data %>%
  kableExtra::kbl() %>%
  kableExtra::kable_paper("striped", font_size = 14, full_width = FALSE) %>%
  kableExtra::scroll_box(height = "200px", width = "100%",
                         box_css = "border: 1px solid #ddd; padding: 5px; ",
                         extra_css = NULL,
                         fixed_thead = TRUE)
```

```{r eval=TRUE}
# EXTRACT THE DATA CLEANING REPORT
report <- attr(cleaned_data, "report")
```

```{r eval=FALSE}
# DISPLAY THE DATA CLEANING REPORT
print_report(report)
```

## Vignette

```{r eval=FALSE}
browseVignettes("cleanepi")
```

### Lifecycle

This package is currently an *experimental*, as defined by the [RECON software
lifecycle](https://www.reconverse.org/lifecycle.html). This means that it is
functional, but interfaces and functionalities may change over time, testing and documentation may be lacking.

### Contributions

Contributions are welcome via [pull
requests](https://github.com/{{ gh_repo }}/pulls).

### Code of Conduct

Please note that the {{ packagename }} project is released with a [Contributor
Code of
Conduct](https://github.com/epiverse-trace/.github/blob/main/CODE_OF_CONDUCT.md).
By contributing to this project, you agree to abide by its terms.

## Citing this package

```{r message=FALSE, warning=FALSE}
citation("cleanepi")
```

Owner

  • Name: Epiverse-TRACE
  • Login: epiverse-trace
  • Kind: organization

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "cleanepi" in publications use:'
type: software
license: MIT
title: 'cleanepi: Clean and Standardize Epidemiological Data'
version: 1.1.1.9000
doi: 10.5281/zenodo.11473985
identifiers:
- type: doi
  value: 10.32614/CRAN.package.cleanepi
abstract: Cleaning and standardizing tabular data package, tailored specifically for
  curating epidemiological data. It streamlines various data cleaning tasks that are
  typically expected when working with datasets in epidemiology. It returns the processed
  data in the same format, and generates a comprehensive report detailing the outcomes
  of each cleaning task.
authors:
- family-names: Mané
  given-names: Karim
  email: karim.mane@lshtm.ac.uk
  orcid: https://orcid.org/0000-0002-9892-2999
- family-names: Degoot
  given-names: Abdoelnaser
  email: abdoelnaser-mahmood.degoot@lshtm.ac.uk
  orcid: https://orcid.org/0000-0001-8788-2496
- family-names: Ahadzie
  given-names: Bankolé
  email: Bankole.Ahadzie@lshtm.ac.uk
- family-names: Mohammed
  given-names: Nuredin
  email: Nuredin.Mohammed@lshtm.ac.uk
- family-names: Bah
  given-names: Bubacarr
  email: Bubacarr.Bah1@lshtm.ac.uk
  orcid: https://orcid.org/0000-0003-3318-6668
preferred-citation:
  type: manual
  title: 'cleanepi: Clean and Standardize Epidemiological Data'
  authors:
  - family-names: Mané
    given-names: Karim
    email: karim.mane@lshtm.ac.uk
    orcid: https://orcid.org/0000-0002-9892-2999
  - family-names: Degoot
    given-names: Abdoelnaser
    email: abdoelnaser-mahmood.degoot@lshtm.ac.uk
    orcid: https://orcid.org/0000-0001-8788-2496
  - family-names: Ahadzie
    given-names: Bankolé
    email: Bankole.Ahadzie@lshtm.ac.uk
  - family-names: Mohammed
    given-names: Nuredin
    email: Nuredin.Mohammed@lshtm.ac.uk
  - family-names: Bah
    given-names: Bubacarr
    email: Bubacarr.Bah1@lshtm.ac.uk
    orcid: https://orcid.org/0000-0003-3318-6668
  year: '2025'
  doi: 10.5281/zenodo.11473985
  url: https://epiverse-trace.github.io/cleanepi/
repository: https://CRAN.R-project.org/package=cleanepi
repository-code: https://github.com/epiverse-trace/cleanepi
url: https://epiverse-trace.github.io/cleanepi/
contact:
- family-names: Mané
  given-names: Karim
  email: karim.mane@lshtm.ac.uk
  orcid: https://orcid.org/0000-0002-9892-2999
keywords:
- data-cleaning
- epidemiology
- epiverse
- r
- r-package
references:
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
  version: '>= 4.0.0'
- type: software
  title: checkmate
  abstract: 'checkmate: Fast and Versatile Argument Checks'
  notes: Imports
  url: https://mllg.github.io/checkmate/
  repository: https://CRAN.R-project.org/package=checkmate
  authors:
  - family-names: Lang
    given-names: Michel
    email: michellang@gmail.com
    orcid: https://orcid.org/0000-0001-9754-0393
  year: '2025'
  doi: 10.32614/CRAN.package.checkmate
- type: software
  title: cli
  abstract: 'cli: Helpers for Developing Command Line Interfaces'
  notes: Imports
  url: https://cli.r-lib.org
  repository: https://CRAN.R-project.org/package=cli
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: gabor@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.cli
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2025'
  doi: 10.32614/CRAN.package.dplyr
- type: software
  title: janitor
  abstract: 'janitor: Simple Tools for Examining and Cleaning Dirty Data'
  notes: Imports
  url: https://sfirke.github.io/janitor/
  repository: https://CRAN.R-project.org/package=janitor
  authors:
  - family-names: Firke
    given-names: Sam
    email: samuel.firke@gmail.com
  year: '2025'
  doi: 10.32614/CRAN.package.janitor
- type: software
  title: linelist
  abstract: 'linelist: Tagging and Validating Epidemiological Data'
  notes: Imports
  url: https://epiverse-trace.github.io/linelist/
  repository: https://CRAN.R-project.org/package=linelist
  authors:
  - family-names: Gruson
    given-names: Hugo
    orcid: https://orcid.org/0000-0002-4094-1476
  - family-names: Jombart
    given-names: Thibaut
  year: '2025'
  doi: 10.32614/CRAN.package.linelist
  version: '>= 1.0.0'
- type: software
  title: lubridate
  abstract: 'lubridate: Make Dealing with Dates a Little Easier'
  notes: Imports
  url: https://lubridate.tidyverse.org
  repository: https://CRAN.R-project.org/package=lubridate
  authors:
  - family-names: Spinu
    given-names: Vitalie
    email: spinuvit@gmail.com
  - family-names: Grolemund
    given-names: Garrett
  - family-names: Wickham
    given-names: Hadley
  year: '2025'
  doi: 10.32614/CRAN.package.lubridate
- type: software
  title: magrittr
  abstract: 'magrittr: A Forward-Pipe Operator for R'
  notes: Imports
  url: https://magrittr.tidyverse.org
  repository: https://CRAN.R-project.org/package=magrittr
  authors:
  - family-names: Bache
    given-names: Stefan Milton
    email: stefan@stefanbache.dk
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2025'
  doi: 10.32614/CRAN.package.magrittr
- type: software
  title: matchmaker
  abstract: 'matchmaker: Flexible Dictionary-Based Cleaning'
  notes: Imports
  url: https://www.repidemicsconsortium.org/matchmaker
  repository: https://CRAN.R-project.org/package=matchmaker
  authors:
  - family-names: Kamvar
    given-names: Zhian N.
    email: zkamvar@gmail.com
    orcid: https://orcid.org/0000-0003-1458-7108
  year: '2025'
  doi: 10.32614/CRAN.package.matchmaker
- type: software
  title: numberize
  abstract: 'numberize: Convert Words to Numbers in Multiple Languages'
  notes: Imports
  url: https://github.com/epiverse-trace/numberize
  repository: https://CRAN.R-project.org/package=numberize
  authors:
  - family-names: Gruson
    given-names: Hugo
    email: hugo.gruson+R@normalesup.org
    orcid: https://orcid.org/0000-0002-4094-1476
  - family-names: Ahadzie
    given-names: Bankole
    email: bankole.ahadzie@lshtm.ac.uk
  year: '2025'
  doi: 10.32614/CRAN.package.numberize
- type: software
  title: readr
  abstract: 'readr: Read Rectangular Text Data'
  notes: Imports
  url: https://readr.tidyverse.org
  repository: https://CRAN.R-project.org/package=readr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Hester
    given-names: Jim
  - family-names: Bryan
    given-names: Jennifer
    email: jenny@posit.co
    orcid: https://orcid.org/0000-0002-6983-2759
  year: '2025'
  doi: 10.32614/CRAN.package.readr
- type: software
  title: rlang
  abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
  notes: Imports
  url: https://rlang.r-lib.org
  repository: https://CRAN.R-project.org/package=rlang
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.rlang
- type: software
  title: tibble
  abstract: 'tibble: Simple Data Frames'
  notes: Imports
  url: https://tibble.tidyverse.org/
  repository: https://CRAN.R-project.org/package=tibble
  authors:
  - family-names: Müller
    given-names: Kirill
    email: kirill@cynkra.com
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2025'
  doi: 10.32614/CRAN.package.tibble
- type: software
  title: htmlwidgets
  abstract: 'htmlwidgets: HTML Widgets for R'
  notes: Suggests
  url: https://github.com/ramnathv/htmlwidgets
  repository: https://CRAN.R-project.org/package=htmlwidgets
  authors:
  - family-names: Vaidyanathan
    given-names: Ramnath
  - family-names: Xie
    given-names: Yihui
  - family-names: Allaire
    given-names: JJ
  - family-names: Cheng
    given-names: Joe
    email: joe@posit.co
  - family-names: Sievert
    given-names: Carson
    email: carson@posit.co
    orcid: https://orcid.org/0000-0002-4958-2844
  - family-names: Russell
    given-names: Kenton
  year: '2025'
  doi: 10.32614/CRAN.package.htmlwidgets
- type: software
  title: kableExtra
  abstract: 'kableExtra: Construct Complex Table with ''kable'' and Pipe Syntax'
  notes: Suggests
  url: http://haozhu233.github.io/kableExtra/
  repository: https://CRAN.R-project.org/package=kableExtra
  authors:
  - family-names: Zhu
    given-names: Hao
    email: haozhu233@gmail.com
    orcid: https://orcid.org/0000-0002-3386-6076
  year: '2025'
  doi: 10.32614/CRAN.package.kableExtra
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Suggests
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2025'
  doi: 10.32614/CRAN.package.knitr
- type: software
  title: lintr
  abstract: 'lintr: A ''Linter'' for R Code'
  notes: Suggests
  url: https://lintr.r-lib.org
  repository: https://CRAN.R-project.org/package=lintr
  authors:
  - family-names: Hester
    given-names: Jim
  - family-names: Angly
    given-names: Florent
  - family-names: Hyde
    given-names: Russ
  - family-names: Chirico
    given-names: Michael
    email: michaelchirico4@gmail.com
  - family-names: Ren
    given-names: Kun
  - family-names: Rosenstock
    given-names: Alexander
  - family-names: Patil
    given-names: Indrajeet
    email: patilindrajeet.science@gmail.com
    orcid: https://orcid.org/0000-0003-1995-6531
  year: '2025'
  doi: 10.32614/CRAN.package.lintr
- type: software
  title: markdown
  abstract: 'markdown: Render Markdown with ''commonmark'''
  notes: Suggests
  url: https://github.com/rstudio/markdown
  repository: https://CRAN.R-project.org/package=markdown
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Allaire
    given-names: JJ
  - family-names: Horner
    given-names: Jeffrey
  year: '2025'
  doi: 10.32614/CRAN.package.markdown
- type: software
  title: naniar
  abstract: 'naniar: Data Structures, Summaries, and Visualisations for Missing Data'
  notes: Suggests
  url: http://naniar.njtierney.com/
  repository: https://CRAN.R-project.org/package=naniar
  authors:
  - family-names: Tierney
    given-names: Nicholas
    email: nicholas.tierney@gmail.com
    orcid: https://orcid.org/0000-0003-1460-8722
  - family-names: Cook
    given-names: Di
    email: dicook@monash.edu
    orcid: https://orcid.org/0000-0002-3813-7155
  - family-names: McBain
    given-names: Miles
    email: miles.mcbain@gmail.com
    orcid: https://orcid.org/0000-0003-2865-2548
  - family-names: Fay
    given-names: Colin
    email: contact@colinfay.me
    orcid: https://orcid.org/0000-0001-7343-1846
  year: '2025'
  doi: 10.32614/CRAN.package.naniar
- type: software
  title: reactable
  abstract: 'reactable: Interactive Data Tables for R'
  notes: Suggests
  url: https://glin.github.io/reactable/
  repository: https://CRAN.R-project.org/package=reactable
  authors:
  - family-names: Lin
    given-names: Greg
    email: glin@glin.io
  year: '2025'
  doi: 10.32614/CRAN.package.reactable
- type: software
  title: rmarkdown
  abstract: 'rmarkdown: Dynamic Documents for R'
  notes: Suggests
  url: https://pkgs.rstudio.com/rmarkdown/
  repository: https://CRAN.R-project.org/package=rmarkdown
  authors:
  - family-names: Allaire
    given-names: JJ
    email: jj@posit.co
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Dervieux
    given-names: Christophe
    email: cderv@posit.co
    orcid: https://orcid.org/0000-0003-4474-2498
  - family-names: McPherson
    given-names: Jonathan
    email: jonathan@posit.co
  - family-names: Luraschi
    given-names: Javier
  - family-names: Ushey
    given-names: Kevin
    email: kevin@posit.co
  - family-names: Atkins
    given-names: Aron
    email: aron@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Cheng
    given-names: Joe
    email: joe@posit.co
  - family-names: Chang
    given-names: Winston
    email: winston@posit.co
  - family-names: Iannone
    given-names: Richard
    email: rich@posit.co
    orcid: https://orcid.org/0000-0003-3925-190X
  year: '2025'
  doi: 10.32614/CRAN.package.rmarkdown
- type: software
  title: spelling
  abstract: 'spelling: Tools for Spell Checking in R'
  notes: Suggests
  url: https://ropensci.r-universe.dev/spelling
  repository: https://CRAN.R-project.org/package=spelling
  authors:
  - family-names: Ooms
    given-names: Jeroen
    email: jeroenooms@gmail.com
    orcid: https://orcid.org/0000-0002-4035-0289
  - family-names: Hester
    given-names: Jim
    email: james.hester@rstudio.com
  year: '2025'
  doi: 10.32614/CRAN.package.spelling
- type: software
  title: systemfonts
  abstract: 'systemfonts: System Native Font Finding'
  notes: Suggests
  url: https://systemfonts.r-lib.org
  repository: https://CRAN.R-project.org/package=systemfonts
  authors:
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Ooms
    given-names: Jeroen
    email: jeroen@berkeley.edu
    orcid: https://orcid.org/0000-0002-4035-0289
  - family-names: Govett
    given-names: Devon
  year: '2025'
  doi: 10.32614/CRAN.package.systemfonts
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2025'
  doi: 10.32614/CRAN.package.testthat
  version: '>= 3.0.0'

GitHub Events

Total
  • Create event: 42
  • Release event: 1
  • Issues event: 40
  • Watch event: 1
  • Delete event: 29
  • Issue comment event: 78
  • Push event: 298
  • Pull request review comment event: 102
  • Pull request review event: 105
  • Pull request event: 83
Last Year
  • Create event: 42
  • Release event: 1
  • Issues event: 40
  • Watch event: 1
  • Delete event: 29
  • Issue comment event: 78
  • Push event: 298
  • Pull request review comment event: 102
  • Pull request review event: 105
  • Pull request event: 83

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 75
  • Total pull requests: 120
  • Average time to close issues: 3 months
  • Average time to close pull requests: 19 days
  • Total issue authors: 11
  • Total pull request authors: 10
  • Average comments per issue: 0.68
  • Average comments per pull request: 1.01
  • Merged pull requests: 83
  • Bot issues: 0
  • Bot pull requests: 16
Past Year
  • Issues: 19
  • Pull requests: 60
  • Average time to close issues: 25 days
  • Average time to close pull requests: 9 days
  • Issue authors: 6
  • Pull request authors: 5
  • Average comments per issue: 0.26
  • Average comments per pull request: 1.5
  • Merged pull requests: 42
  • Bot issues: 0
  • Bot pull requests: 14
Top Authors
Issue Authors
  • Karim-Mane (38)
  • avallecam (14)
  • Degoot-AM (13)
  • Bisaloo (8)
  • joshwlambert (8)
  • bahadzie (4)
  • bbah74 (2)
  • jamesmbaazam (2)
  • chartgerink (1)
  • LloydChapman (1)
  • CarmenTamayo (1)
Pull Request Authors
  • Karim-Mane (105)
  • github-actions[bot] (29)
  • Bisaloo (22)
  • Degoot-AM (18)
  • bahadzie (14)
  • joshwlambert (4)
  • chogis (2)
  • chartgerink (2)
  • pratikunterwegs (2)
  • bbah74 (1)
  • avallecam (1)
  • jamesmbaazam (1)
Top Labels
Issue Labels
enhancement (16) dev_day (9) bug (7) documentation (4) help wanted (3) wontfix (1) upkeep (1)
Pull Request Labels
enhancement (44) documentation (18) bug (7) dev_day (2) cran submission (2)

Packages

  • Total packages: 1
  • Total downloads:
    • cran 582 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: cleanepi

Clean and Standardize Epidemiological Data

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 582 Last month
Rankings
Dependent packages count: 28.7%
Dependent repos count: 35.4%
Average: 50.1%
Downloads: 86.2%
Maintainers (1)
Last synced: 6 months ago