cohortalgebra
Cohort Algebra to create new cohort(s) from existing cohorts. This is NOT part of HADES. CohortGenerator is expected to replace 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
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
- Host: GitHub
- Owner: OHDSI
- Language: R
- Default Branch: main
- Homepage: https://ohdsi.github.io/CohortAlgebra/
- Size: 6.61 MB
Statistics
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 2
- Releases: 8
Metadata Files
README.md
CohortAlgebra
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
See the instructions here for configuring your R environment, including RTools and Java.
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
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
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
- Website: http://ohdsi.org
- Repositories: 285
- Profile: https://github.com/OHDSI
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
- Homepage: https://ohdsi.github.io/CohortAlgebra/
- Documentation: http://cran.r-project.org/web/packages/CohortAlgebra/CohortAlgebra.pdf
- License: Apache License version 1.1 | Apache License version 2.0 [expanded from: Apache License]
-
Latest release: 0.3.1
published about 1 year ago