{
  "_id": "6a102269acfb0bcc41c8cc16",
  "Package": "smoothy",
  "Type": "Package",
  "Title": "Automatic Estimation of the Most Likely Drug Combination using\nSmooth Algorithm",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Dan\", \"Ouchi\", , email = \"dan.ouchi.vernet@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0000-0002-8630-152X\")),\nperson(\"Alvaro\", \"Franquet\", , role = c(\"aut\"), comment = c(ORCID = \"0000-0003-1976-3641\"))\n)",
  "Description": "A flexible moving average algorithm for modeling drug\nexposure in pharmacoepidemiology studies as presented in the\narticle: Ouchi, D., Giner-Soriano, M., Gómez-Lumbreras, A.,\nVedia Urgell, C.,Torres, F., & Morros, R. (2022). \"Automatic\nEstimation of the Most Likely Drug Combination in Electronic\nHealth Records Using the Smooth Algorithm : Development and\nValidation Study.\" JMIR medical informatics, 10(11), e37976.\n<doi:10.2196/37976>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 05:13:11 UTC",
    "User": "root"
  },
  "Author": "Dan Ouchi [aut, cre, cph]\n(<https://orcid.org/0000-0002-8630-152X>), Alvaro Franquet\n[aut] (<https://orcid.org/0000-0003-1976-3641>)",
  "Maintainer": "Dan Ouchi <dan.ouchi.vernet@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-08-11 09:30:54 UTC",
  "RemoteUrl": "https://github.com/cran/smoothy",
  "RemoteRef": "HEAD",
  "RemoteSha": "75ec4e29b61175348b70c1dc750fd8fcd394c510",
  "MD5sum": "8081c7099744b9c361195a49f77d5c8a",
  "_user": "cran",
  "_type": "src",
  "_file": "smoothy_1.0.0.tar.gz",
  "_fileid": "3e342e10f4546075efd47f2a164f3d9645f7dd674851f5a23566dc420443b55f",
  "_filesize": 421375,
  "_sha256": "3e342e10f4546075efd47f2a164f3d9645f7dd674851f5a23566dc420443b55f",
  "_created": "2026-05-14T05:13:11.000Z",
  "_published": "2026-05-22T09:31:21.810Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77353223488,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6987647345"
    },
    {
      "job": 77353223466,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987648194"
    },
    {
      "job": 77353223164,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987624647"
    },
    {
      "job": 77353223054,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157322535"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25781314725",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/smoothy",
  "_commit": {
    "id": "75ec4e29b61175348b70c1dc750fd8fcd394c510",
    "author": "Dan Ouchi <dan.ouchi.vernet@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1691746254
  },
  "_maintainer": {
    "name": "Dan Ouchi",
    "email": "dan.ouchi.vernet@gmail.com",
    "orcid": "0000-0002-8630-152X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "version": ">= 1.8",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 164,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/smoothy"
  },
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/smoothy.html",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-08-11"
    }
  ],
  "_exports": [
    "smooth_algorithm",
    "smooth_deparse",
    "smooth_diff",
    "smooth_parse"
  ],
  "_datasets": [
    {
      "name": "drugstreatment",
      "title": "Drug Administration Data",
      "object": "drugstreatment",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "start_date",
        "end_date",
        "drug"
      ],
      "rows": 5541,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "drugstreatment",
      "title": "Drug Administration Data",
      "topics": [
        "drugstreatment"
      ]
    },
    {
      "page": "smooth_algorithm",
      "title": "Apply Smooth Algorithm in a Dataset",
      "topics": [
        "smooth_algorithm"
      ]
    },
    {
      "page": "smooth_deparse",
      "title": "Deparse",
      "topics": [
        "smooth_deparse"
      ]
    },
    {
      "page": "smooth_diff",
      "title": "Compute the Difference Between Initial and Smoothed Treatment",
      "topics": [
        "smooth_diff"
      ]
    },
    {
      "page": "smooth_parse",
      "title": "Transform Data to be Used in 'smooth_algorithm()' Function",
      "topics": [
        "smooth_parse"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "introduction-to-smoothy.Rmd",
      "filename": "introduction-to-smoothy.html",
      "title": "Introduction to Smoothy",
      "author": "Dan Ouchi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Load packages:",
        "Functions",
        "The smooth algorithm",
        "Input dataset",
        "Example dataset",
        "The workflow",
        "Step 1. Transform the Original Data (parse)",
        "Step 2. Apply the Algorithm",
        "Step 3. Untransform the Smoothed Data (deparse)",
        "Step 4. Validation",
        "4.1. Count Differences Before and After the Smooth Algorithm",
        "4.2 Visualization",
        "Choosing the windows size",
        "Utilizing the Algorithm in a Large Dataset",
        "1) Split Data in Chunks",
        "2) Sockets, Cores and Progress bar",
        "3) Parallel Execution using foreach() and %dopar%",
        "3.1) Patient-Level Differences",
        "4) Read and Combine All Chunks"
      ],
      "created": "2023-08-11 09:30:54",
      "modified": "2023-08-11 09:30:54",
      "commits": 1
    }
  ],
  "_score": 2.0413926851582254,
  "_indexed": true,
  "_nocasepkg": "smoothy",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-14T05:15:12.000Z",
      "distro": "noble",
      "commit": "75ec4e29b61175348b70c1dc750fd8fcd394c510",
      "fileid": "1a69b3d1612affa0e55d8e04aba1b63b02b80d92e76db9e131e96773782bf916",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25781314725"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-14T05:15:15.000Z",
      "distro": "noble",
      "commit": "75ec4e29b61175348b70c1dc750fd8fcd394c510",
      "fileid": "0ebd93732028088ee954062e6ea7133f9bb130519ed6aa1d25b4fd19984a5fb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25781314725"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T09:31:06.000Z",
      "commit": "75ec4e29b61175348b70c1dc750fd8fcd394c510",
      "fileid": "64665cda23dfced4105446d7a3c275fead0b7e74b577fe734c61750a66247fba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25781314725"
    }
  ]
}