{
  "_id": "6a4a046d9ce196b5e5a91b25",
  "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-06-11 08:19:56 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",
  "_user": "laksafoss",
  "_type": "src",
  "_file": "tame_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/7ca82c55c071835ab41619ea05e41b71c9a25865ba27cfa722b78756fd19a3f2",
  "_filesize": 619301,
  "_sha256": "7ca82c55c071835ab41619ea05e41b71c9a25865ba27cfa722b78756fd19a3f2",
  "_expires": "2026-10-13T07:14:51.000Z",
  "_created": "2026-06-11T08:19:56.000Z",
  "_published": "2026-07-05T07:14:53.131Z",
  "_jobs": [
    {
      "job": 85202138550,
      "time": 165,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7558673882"
    },
    {
      "job": 85202138543,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7558675180"
    },
    {
      "job": 85202138601,
      "time": 172,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558676008"
    },
    {
      "job": 85202138609,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558688188"
    },
    {
      "job": 85202138744,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7558651847"
    },
    {
      "job": 85202138589,
      "time": 269,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7558713247"
    },
    {
      "job": 85202138581,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558656980"
    },
    {
      "job": 85202138636,
      "time": 268,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558713425"
    },
    {
      "job": 85202138445,
      "time": 186,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558612545"
    },
    {
      "job": 85202138572,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558659659"
    },
    {
      "job": 85202138531,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7558654801"
    },
    {
      "job": 85202138688,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7558653324"
    },
    {
      "job": 85202138558,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7558656685"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865",
  "_status": "success",
  "_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",
    "description": "",
    "uuid": 32563680,
    "orcid": "0000-0002-9898-2924"
  },
  "_distro": "noble",
  "_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": 543,
    "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-06-11T08:22:33.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/337fba2dfa5e2213d88aae5db208a13ab6bc8845fa6fdf19dfc4246b196d3588",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-11T08:22:27.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/059d041d5d254b34c015cd1fa10312714102db75386c183cdf8d9c032bade215",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-11T08:22:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/c988196008510e3d2977833bcf2cf2ce75ba63d0c942cb9e8aa3de7f13b0c796",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-11T08:23:02.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/b061ee62c8cefcea44b9c09ecaaa19291408362aa163d28af68c40b10cd33043",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-11T08:21:33.000Z",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/4e1e40d445a955745353118b2d76f20fe75e1a76f400a997eda4f59971e2d863",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-11T08:23:49.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/519586ae712a104bd6001e5a48abbd02f48f8c08ed78ff8eba20cfcbbf4bcd81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-11T08:21:40.000Z",
      "arch": "aarch64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/1f20c882a499aad4c5e12c942726b7649339350b9f02d59b083fe6d27296d6c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-11T08:23:37.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/3a40182c8bbf36c74a1b0809f9e3ae1fe09507f2f385f5cf3600b240a99dbcfe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-06-11T08:22:19.000Z",
      "arch": "emscripten",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/cc6ba3c63dde4e86e2cebeacab9fb61f5fa70b1cc5ac9e9ba3e7a371a7e55fd4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-11T08:21:16.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/0ae57621dac51a02cbb71342156c581beba524335df434680e3ed7a2df55c451",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-11T08:21:12.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/933205a721906d8ef4b5a81d152ec180ec17a195f8d71fbba012f963848abcb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-11T08:21:13.000Z",
      "arch": "x86_64",
      "commit": "b5b08dce461a0101b2bd49790476c106586c9b28",
      "fileid": "https://r2.ropensci.org/7ef1609adb7cea19c8710f14bde4a83e818119118d97166f6e6825f4b95f6114",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laksafoss/actions/runs/27333523865"
    }
  ]
}