{
  "_id": "6a103384acfb0bcc41c9861c",
  "Package": "tame",
  "Title": "Timing, Anatomical, Therapeutic and Chemical Based Medication\nClustering",
  "Version": "0.2.1",
  "Authors@R": "person(\"Anna\", \"Laksafoss\", , \"adls@ssi.dk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9898-2924\"))",
  "Description": "Agglomerative hierarchical clustering with a bespoke\ndistance measure based on medication similarities in the\nAnatomical Therapeutic Chemical Classification System,\nmedication timing and medication amount or dosage. Tools for\nsummarizing, illustrating and manipulating the cluster objects\nare also available.",
  "License": "GPL (>= 3) | file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "BugReports": "https://github.com/Laksafoss/tame/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-12 08:12:01 UTC",
    "User": "root"
  },
  "Author": "Anna Laksafoss [aut, cre]\n(<https://orcid.org/0000-0002-9898-2924>)",
  "Maintainer": "Anna Laksafoss <adls@ssi.dk>",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://laksafoss.r-universe.dev",
  "Date/Publication": "2026-01-12 08:38:43 UTC",
  "RemoteUrl": "https://github.com/laksafoss/tame",
  "RemoteRef": "HEAD",
  "RemoteSha": "b5b08dce461a0101b2bd49790476c106586c9b28",
  "MD5sum": "5100571188b76e801d43eccfb0e8496a",
  "_user": "laksafoss",
  "_type": "src",
  "_file": "tame_0.2.1.tar.gz",
  "_fileid": "09ff8bc939c3f505ed6c94fedd17ddd06f997519440b384af84e8a817d5d352c",
  "_filesize": 620937,
  "_sha256": "09ff8bc939c3f505ed6c94fedd17ddd06f997519440b384af84e8a817d5d352c",
  "_created": "2026-05-12T08:12:01.000Z",
  "_published": "2026-05-22T10:44:20.275Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77364023573,
      "time": 145,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6938999071"
    },
    {
      "job": 77364023644,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6939001513"
    },
    {
      "job": 77364023942,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938997602"
    },
    {
      "job": 77364023709,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938994924"
    },
    {
      "job": 77364024081,
      "time": 257,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6939018412"
    },
    {
      "job": 77364023968,
      "time": 271,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6939029509"
    },
    {
      "job": 77364023905,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938997903"
    },
    {
      "job": 77364023784,
      "time": 229,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6939017649"
    },
    {
      "job": 77364023190,
      "time": 207,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938951820"
    },
    {
      "job": 77364023265,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158623084"
    },
    {
      "job": 77364023511,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6938998298"
    },
    {
      "job": 77364023770,
      "time": 174,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6939007767"
    },
    {
      "job": 77364023634,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6939006878"
    }
  ],
  "_buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/laksafoss/tame",
  "_commit": {
    "id": "b5b08dce461a0101b2bd49790476c106586c9b28",
    "author": "Anna Laksafoss <32563680+Laksafoss@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #22 from Laksafoss/dev_optim\n\nDev optim",
    "time": 1768207123
  },
  "_maintainer": {
    "name": "Anna Laksafoss",
    "email": "adls@ssi.dk",
    "login": "laksafoss",
    "uuid": 32563680,
    "orcid": "0000-0002-9898-2924"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.8",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "laksafoss",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "laksafoss",
      "count": 89,
      "uuid": 32563680
    }
  ],
  "_userbio": {
    "uuid": 32563680,
    "type": "user",
    "name": "Anna Laksafoss"
  },
  "_downloads": {
    "count": 539,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tame"
  },
  "_devurl": "https://github.com/laksafoss/tame",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tame.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/laksafoss/tame",
  "_realowner": "laksafoss",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2023-02-23"
    },
    {
      "version": "0.2.0",
      "date": "2025-04-02"
    },
    {
      "version": "0.2.1",
      "date": "2026-01-12"
    }
  ],
  "_exports": [
    "cluster_frequency",
    "comedication_count",
    "default_atc_groups",
    "employ",
    "enrich",
    "is.medic",
    "medic",
    "medication_frequency",
    "parameters_constructor",
    "plot_cluster_frequency",
    "plot_comedication_count",
    "plot_medication_frequency",
    "plot_summary",
    "plot_timing_atc_group",
    "plot_timing_trajectory",
    "refactor",
    "summary_crop",
    "timing_atc_group",
    "timing_trajectory"
  ],
  "_datasets": [
    {
      "name": "complications",
      "title": "A Simulated Data Set About Pregnancy Complications",
      "object": "complications",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "hypertension",
        "depression",
        "still_birth",
        "atc",
        "first_trimester",
        "second_trimester",
        "third_trimester"
      ],
      "rows": 149,
      "table": true,
      "tojson": true
    },
    {
      "name": "eczema",
      "title": "A Simulated Data Set About Eczema",
      "object": "eczema",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "child_eczema",
        "medicated",
        "atc",
        "first_trimester",
        "second_trimester",
        "third_trimester"
      ],
      "rows": 50644,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cluster_frequency",
      "title": "The Frequency of Assignment to Each Cluster",
      "topics": [
        "cluster_frequency"
      ]
    },
    {
      "page": "comedication_count",
      "title": "Frequency tables for medication amount",
      "topics": [
        "comedication_count"
      ]
    },
    {
      "page": "complications",
      "title": "A Simulated Data Set About Pregnancy Complications",
      "topics": [
        "complications"
      ]
    },
    {
      "page": "default_atc_groups",
      "title": "Default ATC groups for summaries",
      "topics": [
        "default_atc_groups"
      ]
    },
    {
      "page": "eczema",
      "title": "A Simulated Data Set About Eczema",
      "topics": [
        "eczema"
      ]
    },
    {
      "page": "employ",
      "title": "Employ a Clustering to New Data",
      "topics": [
        "employ"
      ]
    },
    {
      "page": "enrich",
      "title": "Enrich Clustering Parameter",
      "topics": [
        "enrich"
      ]
    },
    {
      "page": "is.medic",
      "title": "Test if an object is a medic-object",
      "topics": [
        "is.medic"
      ]
    },
    {
      "page": "medic",
      "title": "Medication clustering (based on ATC and timing)",
      "topics": [
        "medic",
        "print.medic"
      ]
    },
    {
      "page": "medication_frequency",
      "title": "ATC Code Frequency Within Clusters",
      "topics": [
        "medication_frequency"
      ]
    },
    {
      "page": "parameters_constructor",
      "title": "Internal option constructor",
      "topics": [
        "parameters_constructor"
      ]
    },
    {
      "page": "plot_cluster_frequency",
      "title": "Plot Cluster Frequency",
      "topics": [
        "plot_cluster_frequency",
        "plot_cluster_frequency.cluster_frequency",
        "plot_cluster_frequency.medic",
        "plot_cluster_frequency.summary.medic"
      ]
    },
    {
      "page": "plot_comedication_count",
      "title": "Plot Comedication Count",
      "topics": [
        "plot_comedication_count",
        "plot_comedication_count.comedication_count",
        "plot_comedication_count.medic",
        "plot_comedication_count.summary.medic"
      ]
    },
    {
      "page": "plot_medication_frequency",
      "title": "Plot Medication Frequency",
      "topics": [
        "plot_medication_frequency",
        "plot_medication_frequency.medic",
        "plot_medication_frequency.medication_frequency",
        "plot_medication_frequency.summary.medic"
      ]
    },
    {
      "page": "plot_summary",
      "title": "Plot Summary",
      "topics": [
        "plot_summary",
        "plot_summary.medic",
        "plot_summary.summary.medic"
      ]
    },
    {
      "page": "plot_timing_atc_group",
      "title": "Plot Timing ATC Group",
      "topics": [
        "plot_timing_atc_group",
        "plot_timing_atc_group.medic",
        "plot_timing_atc_group.summary.medic",
        "plot_timing_atc_group.timing_atc_group"
      ]
    },
    {
      "page": "plot_timing_trajectory",
      "title": "Plot Timing Trajectory",
      "topics": [
        "plot_timing_trajectory",
        "plot_timing_trajectory.medic",
        "plot_timing_trajectory.summary.medic",
        "plot_timing_trajectory.timing_trajectory"
      ]
    },
    {
      "page": "print.summary.medic",
      "title": "Print Summary of Medication",
      "topics": [
        "print.summary.medic"
      ]
    },
    {
      "page": "refactor",
      "title": "Refactor Cluster Levels",
      "topics": [
        "refactor"
      ]
    },
    {
      "page": "regex_inner_join",
      "title": "Quickfix regex many-to-many inner join",
      "topics": [
        "regex_inner_join"
      ]
    },
    {
      "page": "str.summary.medic",
      "title": "Summary of a medic-object using str function",
      "topics": [
        "str.summary.medic"
      ]
    },
    {
      "page": "summary_crop",
      "title": "Crop Clustering Summary",
      "topics": [
        "summary_crop",
        "summary_crop.cluster_frequency",
        "summary_crop.comedication_count",
        "summary_crop.medication_frequency",
        "summary_crop.summary.medic",
        "summary_crop.timing_atc_group",
        "summary_crop.timing_trajectory"
      ]
    },
    {
      "page": "summary.medic",
      "title": "Summary of medic object",
      "topics": [
        "summary.medic"
      ]
    },
    {
      "page": "timing_atc_group",
      "title": "Timing and ATC pattern interactions",
      "topics": [
        "timing_atc_group"
      ]
    },
    {
      "page": "timing_trajectory",
      "title": "Timing pattern frequency within clusters",
      "topics": [
        "timing_trajectory"
      ]
    }
  ],
  "_readme": "https://github.com/laksafoss/tame/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "Rfast",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zigg"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "tame",
  "_universes": [
    "laksafoss"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-12T08:14:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "b91bb611caa25da28e49ea7a5d539e48a1a349b76b89237cba5d9e5c5c7359b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-12T08:14:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "07ff3f02d854f523b0c212bb2764ed79e2afa7fb822a2efca2615bdce55d5056",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-12T08:14:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "58bb1b7ba9c232f982fa4cab3cb5123948e5231f6da124d443600440f584bd7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-05-12T08:14:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "d0b0717998e3d520255e1bb7a894d7aef59c97f09f6378066e4be9ac38071294",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-12T08:15:15.000Z",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "55742a791071dfb3ad7d0086233a44c02ec5ba626609ec584fe77dd80e259ade",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-12T08:15:41.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "0279ff8f34a91d096cb11663fe2197377d4331715790696ce86a28c8d6d14062",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-12T08:14:21.000Z",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "f6dd94d75a7fddf9507901ac65d71bf5cae709d565e96c1b87583e23113b2f98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-05-12T08:15:03.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "aa92f2dc579fcaf2fe04f86a5d7c6c23ac769a5afd1145359de6b1beb296ab01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-12T08:13:48.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "61332309bbba5faf48b39cfd9ecb2adbcd3b1645a1abfb5e8da6870150ba2c01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-12T08:14:20.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "9a1da183f456cb72990b07c3995e322d5c08c1e3ddb6a4b98d801579ad06dd18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-05-12T08:13:51.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "6d6231e3109fae2617a626e54acdd25dbdbea7a00b86ad20f61f0eb341d76af1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-05-22T10:44:01.000Z",
      "arch": "emscripten",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "7cbe62158d74fb21682fec8c3d8571758777d11943e8b34808d355de9bba05ec",
      "status": "success",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/25721860732"
    }
  ]
}