indicr4health
Lightweight, Fast, and Intuitive Indicator Calculations R Package from Health data.
Science Score: 49.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
Found 2 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 (9.7%) to scientific vocabulary
Repository
Lightweight, Fast, and Intuitive Indicator Calculations R Package from Health data.
Basic Info
- Host: GitHub
- Owner: cienciadedatosysalud
- License: other
- Language: R
- Default Branch: main
- Homepage: https://cienciadedatosysalud.github.io/IndicR4Health/
- Size: 201 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
IndicR4Health
IndicR4Health is a Lightweight, Fast, and Intuitive Indicator Calculations Package for Health.
Development Version
You can install the development version of IndicR4Health from GitHub with:
``` r
install.packages("devtools")
devtools::install_github("cienciadedatosysalud/IndicR4Health") ```
Example
``` r library(IndicR4Health)
hospdataframe <- data.frame( episodeid = c(1, 2, 3), age = c(45, 60, 32), sex = c("M", "F", "M"), diagnosis1 = c("F10.10", "I20", "I60"), diagnosis2 = c("E11", "J45", "I25"), diagnosis3 = c("I61", "K35", "F10.120"), presentonadmissiond1 = c(TRUE,FALSE,FALSE), presentonadmissiond2 = c(FALSE,TRUE,FALSE), presentonadmission_d3 = c(TRUE,TRUE,TRUE) )
reng <- IndicR4Health::RuleEngine(hospdataframe, "episodeid")
targetcolumns <- c('diagnosis1','diagnosis2','diagnosis3') definitioncodes <- c('F10.10') scenario1 <- IndicR4Health::MatchAny(reng, "scenario1", targetcolumns, definitioncodes)
targetcolumns <- c('diagnosis1','diagnosis3') definitioncodes <- c('F10.10',"I60") scenario2 <- IndicR4Health::MatchAll(reng, "scenario2", targetcolumns, definitioncodes)
targetcolumns <- c('diagnosis1','diagnosis2','diagnosis3') filtercolumns <- c('presentonadmissiond1','presentonadmissiond2','presentonadmissiond3') lookupvalues <- c('true')
definitioncodes <- c('F10.10',"I60") scenario3 <- IndicR4Health::MatchAnyWhere(reng, "scenario3", targetcolumns, definitioncodes, filtercolumns = filtercolumns, lookupvalues = lookup_values )
targetcolumns <- c('diagnosis1','diagnosis2','diagnosis3') filtercolumns <- c('presentonadmissiond1','presentonadmissiond2','presentonadmissiond3') lookupvalues <- c('true')
definitioncodes <- c('F10.10',"I60") scenario4 <- IndicR4Health::MatchAllWhere(reng, "scenario4", targetcolumns, definitioncodes, filtercolumns = filtercolumns, lookupvalues = lookup_values )
listscenarios = list(scenario1, scenario2, scenario3, scenario4) result <- IndicR4Health::RunIndicators(reng,listscenarios, append_results = FALSE)
```
Indicator Builder
Effortlessly generate indicator calculation script templates using 'IndicatorBuilder'. This web tool reads a CSV file, where each column represents an indicator by including its respective definition codes, and outputs a script template ready to be copied and used in R or Python. You can streamline your data analysis workflow with 'IndicatorBuilder'.
The use of 'IndicatorBuilder' complements the Python library IndicPy4Health and the R package IndicR4Health, providing an easy-to-use tool scripting the definition of any indicator within your preferred programming environment.
IndicR4Health for Python
IndicR4Health is also available for Python under the name IndicPy4Health, offering similar functionality for processing data.
You can find and use IndicPy4Health in its official repository:
🚀 IndicPy4Health on GitHub https://github.com/cienciadedatosysalud/IndicPy4Health_
📜 Disclaimer
This software is provided "as is," without any warranties of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement.
In no event shall the authors, contributors, or maintainers be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including but not limited to loss of use, data, or profits), regardless of the cause and under any liability theory, whether in contract, strict liability, or tort (including negligence or any other cause), arising in any way from the use of this software, even if advised of the possibility of such damages.
The user assumes full responsibility for the use of this library, including evaluating its suitability and safety in the context of their application.
Owner
- Login: cienciadedatosysalud
- Kind: user
- Location: España
- Company: Instituto Aragonés de Ciencias de la Salud
- Website: https://cienciadedatosysalud.org/
- Twitter: atlasvpm
- Repositories: 1
- Profile: https://github.com/cienciadedatosysalud
We are the Data Science for Health Services and Policy Research of the Instituto Aragonés de Ciencias de la Salud [Aragon Institute of Health Sciences].
GitHub Events
Total
- Push event: 8
Last Year
- Push event: 8