tame

Timing and ATC Based Medication Clustering

https://github.com/laksafoss/tame

Science Score: 13.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
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Timing and ATC Based Medication Clustering

Basic Info
  • Host: GitHub
  • Owner: Laksafoss
  • License: other
  • Language: R
  • Default Branch: main
  • Size: 2.08 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 16
  • Releases: 1
Created over 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

tame

CRANstatus R-CMD-check CRAN Downloads overall <!-- badges: end -->

Timing, Anatomical, Therapeutic and Chemical Based Medication Clustering.

Overview

tame is an R package that implements an agglomerative hierarchical clustering with a bespoke distance measure based on medication similarities in the Anatomical Therapeutic Chemical Classification System, medication timing and medication amount or dosage. Tools for summarizing, illustrating and manipulating the cluster objects are also available.

Installation

install.package("tame")

Usage

Use medic to cluster medication data with ATC codes and dosage trajectories.

``` library(tame)

A simple clustering based only on ATC

clust <- medic(complications, id = id, atc = atc, k = 3)

A simple clustering with both ATC and timing

clust <- medic( complications, id = id, atc = atc, timing = firsttrimester:thirdtrimester, k = 3 ) ```

Owner

  • Name: Anna Laksafoss
  • Login: Laksafoss
  • Kind: user

GitHub Events

Total
  • Push event: 2
  • Pull request event: 1
Last Year
  • Push event: 2
  • Pull request event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 17
  • Total pull requests: 2
  • Average time to close issues: 10 days
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 0.18
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 2 hours
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Laksafoss (11)
  • kjakobse (6)
Pull Request Authors
  • Laksafoss (3)
Top Labels
Issue Labels
enhancement (13) bug (2) question (1) documentation (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 182 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: tame

Timing, Anatomical, Therapeutic and Chemical Based Medication Clustering

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 182 Last month
Rankings
Forks count: 21.9%
Dependent packages count: 29.8%
Stargazers count: 35.2%
Dependent repos count: 35.5%
Average: 42.2%
Downloads: 89.0%
Maintainers (1)
Last synced: 10 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 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
DESCRIPTION cran
  • R >= 4.2 depends
  • Rcpp >= 1.0.8 imports
  • Rfast * imports
  • dplyr * imports
  • fuzzyjoin * imports
  • magrittr * imports
  • purrr * imports
  • rlang * imports
  • stats * imports
  • stringr * imports
  • tibble * imports
  • tidyr * imports
  • tidyselect * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests