cohortalgebra

Cohort Algebra to create new cohort(s) from existing cohorts. This is NOT part of HADES. CohortGenerator is expected to replace CohortAlgebra

https://github.com/ohdsi/cohortalgebra

Science Score: 26.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
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Cohort Algebra to create new cohort(s) from existing cohorts. This is NOT part of HADES. CohortGenerator is expected to replace CohortAlgebra

Basic Info
Statistics
  • Stars: 1
  • Watchers: 7
  • Forks: 0
  • Open Issues: 2
  • Releases: 8
Created over 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog

README.md

CohortAlgebra

Build Status codecov.io CRAN_Status_Badge CRAN_Status_Badge

Introduction

CohortAlgebra is a R package that allows you to create new cohorts from previously instantiated cohorts in a cohort table. New cohorts may be created by performing the union, intersect or minus of one or more cohorts.

Cohort Union: Takes two or more cohorts and creates a new cohort that has all the dates a subject was present in any of the given cohorts. Cohort Intersect: Takes two or more cohorts and creates a new cohort that only has the dates a subject was present in all the given cohorts. If a person was not present in any of the given cohort, then that subject is not in the final cohort. Cohort Minus: Take only two cohorts (different from Cohort union and intersect). Creates a new cohort that has the dates a subject was present in the first cohort and not the second cohort. Note: the sequence of cohorts is important for Cohort Minus. If person is not in the second cohort, then all the dates the person was present in the first cohort is part of the final cohort.

Other capabilities include modify cohorts which allows to censor or filter an instantiated cohort, or pad an instantiated cohort additional dates. You can also remove persons from one set of cohorts, any subject present in another set of cohorts.

Features

  • Create new cohorts from existing cohorts.

Technology

CohortAlgebra is an R package.

System Requirements

Requires R (version 3.6.0 or higher).

Installation

  1. See the instructions here for configuring your R environment, including RTools and Java.

  2. In R, use the following commands to download and install CohortAlgebra:

r install.packages("remotes") remotes::install_github("ohdsi/CohortAlgebra")

User Documentation

Documentation can be found on the package website.

PDF versions of the documentation are also available: * Package manual: CohortAlgebra.pdf

Support

Contributing

Read here how you can contribute to this package.

License

CohortAlgebra is licensed under Apache License 2.0

Development

CohortAlgebra is being developed in R Studio.

Development status

CohortAlgebra is under development.

Owner

  • Name: Observational Health Data Sciences and Informatics
  • Login: OHDSI
  • Kind: organization

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 3
  • Delete event: 1
  • Push event: 5
  • Pull request event: 2
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 3
  • Delete event: 1
  • Push event: 5
  • Pull request event: 2

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 9
  • Total pull requests: 55
  • Average time to close issues: about 2 months
  • Average time to close pull requests: about 16 hours
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 1.89
  • Average comments per pull request: 0.25
  • Merged pull requests: 52
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 2
  • Average time to close issues: 3 days
  • Average time to close pull requests: 1 minute
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • gowthamrao (7)
  • ablack3 (1)
  • schuemie (1)
Pull Request Authors
  • gowthamrao (58)
  • ablack3 (2)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 242 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: CohortAlgebra

Use of Interval Algebra to Create New Cohort(s) from Existing Cohorts

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 242 Last month
Rankings
Dependent packages count: 28.0%
Forks count: 28.1%
Stargazers count: 31.1%
Dependent repos count: 36.5%
Average: 42.0%
Downloads: 86.1%
Maintainers (1)
Last synced: 7 months ago