{
  "_id": "6ac23abbd743750d376d7242",
  "Package": "modeldb",
  "Title": "Fits Models Inside the Database",
  "Version": "0.3.1.9000",
  "Authors@R": "c(\nperson(\"Edgar\", \"Ruiz\", , \"edgar@posit.co\", role = \"aut\"),\nperson(\"Max\", \"Kuhn\", , \"max@posit.co\", role = c(\"aut\", \"cre\"))\n)",
  "Description": "Uses 'dplyr' and 'tidyeval' to fit statistical models\ninside the database. It currently supports KMeans and linear\nregression models.",
  "License": "MIT + file LICENSE",
  "URL": "https://modeldb.tidymodels.org,\nhttps://github.com/tidymodels/modeldb",
  "BugReports": "https://github.com/tidymodels/modeldb/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://tidymodels.r-universe.dev",
  "Date/Publication": "2025-08-22 17:23:02 UTC",
  "RemoteUrl": "https://github.com/tidymodels/modeldb",
  "RemoteRef": "HEAD",
  "RemoteSha": "5d925298563a83c3ecca194bec4923e8defc5625",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 11:35:23 UTC",
    "User": "root"
  },
  "Author": "Edgar Ruiz [aut],\nMax Kuhn [aut, cre]",
  "Maintainer": "Max Kuhn <max@posit.co>",
  "_user": "tidymodels",
  "_type": "src",
  "_file": "modeldb_0.3.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/52a5d19620572e866d3f2cd5acb5d233e5a5c71eae116cac5a728a278b593326",
  "_filesize": 532025,
  "_sha256": "52a5d19620572e866d3f2cd5acb5d233e5a5c71eae116cac5a728a278b593326",
  "_expires": "2027-01-12T11:38:33.000Z",
  "_created": "2026-10-04T11:35:23.000Z",
  "_published": "2026-10-04T11:38:35.426Z",
  "_jobs": [
    {
      "job": 111427406055,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11301847045"
    },
    {
      "job": 111427406009,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301898123"
    },
    {
      "job": 111427406051,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11302786175"
    },
    {
      "job": 111427406006,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301858290"
    },
    {
      "job": 111426594605,
      "time": 256,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11302106565"
    },
    {
      "job": 111427406049,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11301838319"
    },
    {
      "job": 111427406078,
      "time": 87,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11302057778"
    },
    {
      "job": 111427406030,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11302142731"
    },
    {
      "job": 111427406029,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11301993030"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905",
  "_status": "success",
  "_upstream": "https://github.com/tidymodels/modeldb",
  "_commit": {
    "id": "5d925298563a83c3ecca194bec4923e8defc5625",
    "author": "‘topepo’ <mxkuhn@gmail.com>",
    "committer": "‘topepo’ <mxkuhn@gmail.com>",
    "message": "Increment version number to 0.3.1.9000\n",
    "time": 1755883382
  },
  "_maintainer": {
    "name": "Max Kuhn",
    "email": "max@posit.co",
    "login": "topepo",
    "description": "",
    "uuid": 5731043
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidypredict",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "DBI",
      "role": "Suggests"
    },
    {
      "package": "dbplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "nycflights13",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "RSQLite",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "tidymodels",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "database",
    "dbplyr",
    "dplyr",
    "ggplot2",
    "modeling",
    "rlang",
    "sql",
    "tidyeval",
    "visualization"
  ],
  "_stars": 80,
  "_contributors": [
    {
      "user": "edgararuiz",
      "count": 98,
      "uuid": 77294576
    },
    {
      "user": "topepo",
      "count": 35,
      "uuid": 5731043
    },
    {
      "user": "edgararuiz-zz",
      "count": 19,
      "uuid": 7875923
    },
    {
      "user": "juliasilge",
      "count": 13,
      "uuid": 12505835
    },
    {
      "user": "hfrick",
      "count": 4,
      "uuid": 12950918
    },
    {
      "user": "emilhvitfeldt",
      "count": 2,
      "uuid": 14034784
    },
    {
      "user": "garrettmooney",
      "count": 1,
      "uuid": 4910020
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    },
    {
      "user": "karldw",
      "count": 1,
      "uuid": 12504708
    }
  ],
  "_userbio": {
    "uuid": 29100987,
    "type": "organization",
    "name": "tidymodels",
    "followers": 575
  },
  "_downloads": {
    "count": 433,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/modeldb"
  },
  "_devurl": "https://github.com/tidymodels/modeldb",
  "_pkgdown": "https://modeldb.tidymodels.org",
  "_searchresults": 64,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/modeldb.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/tidymodels/modeldb",
  "_realowner": "tidymodels",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-05-07"
    },
    {
      "version": "0.1.1",
      "date": "2019-01-07"
    },
    {
      "version": "0.1.2",
      "date": "2019-03-04"
    },
    {
      "version": "0.2.0",
      "date": "2019-07-20"
    },
    {
      "version": "0.2.1",
      "date": "2020-02-07"
    },
    {
      "version": "0.2.2",
      "date": "2020-02-10"
    },
    {
      "version": "0.2.3",
      "date": "2022-08-16"
    },
    {
      "version": "0.3.0",
      "date": "2023-11-01"
    },
    {
      "version": "0.3.1",
      "date": "2025-08-22"
    }
  ],
  "_exports": [
    "add_dummy_variables",
    "as_parsed_model",
    "db_calculate_squares",
    "linear_regression_db",
    "plot_kmeans",
    "simple_kmeans_db"
  ],
  "_help": [
    {
      "page": "add_dummy_variables",
      "title": "Creates dummy variables",
      "topics": [
        "add_dummy_variables"
      ]
    },
    {
      "page": "as_parsed_model.modeldb_lm",
      "title": "Prepares parsed model object",
      "topics": [
        "as_parsed_model.modeldb_lm"
      ]
    },
    {
      "page": "linear_regression_db",
      "title": "Fits a Linear Regression model",
      "topics": [
        "linear_regression_db"
      ]
    },
    {
      "page": "plot_kmeans",
      "title": "Visualize a KMeans Cluster with lots of data",
      "topics": [
        "db_calculate_squares",
        "plot_kmeans"
      ]
    },
    {
      "page": "simple_kmeans_db",
      "title": "Simple kmeans routine that works in-database",
      "topics": [
        "simple_kmeans_db"
      ]
    }
  ],
  "_pkglogo": "https://github.com/tidymodels/modeldb/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/tidymodels/modeldb/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "evaluate",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "hms",
    "isoband",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidypredict",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "kmeans.Rmd",
      "filename": "kmeans.html",
      "title": "K Means models",
      "author": "Edgar Ruiz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Intro",
        "Example setup",
        "Running Kmeans clustering",
        "Under the hood",
        "Safeguards for long running jobs"
      ],
      "created": "2018-03-04 19:21:37",
      "modified": "2023-10-31 18:13:29",
      "commits": 13
    },
    {
      "source": "linear-regression.Rmd",
      "filename": "linear-regression.html",
      "title": "Linear regression models",
      "author": "Edgar Ruiz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Intro",
        "Example setup",
        "Model inside the database",
        "Categorical variables",
        "Multiple linear regression",
        "Interactions",
        "Full example"
      ],
      "created": "2019-03-02 02:47:34",
      "modified": "2023-10-31 18:48:08",
      "commits": 3
    }
  ],
  "_score": 7.612359947967775,
  "_indexed": true,
  "_nocasepkg": "modeldb",
  "_universes": [
    "tidymodels",
    "topepo"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:37:30.000Z",
      "distro": "resolute",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/ff232bae05dce8860c46a50fd989839ed689a7b93da89a4501681303bba98322",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:37:40.000Z",
      "distro": "resolute",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/cc791d577f8ea7712f676ca9533820efce2e52dfe4403e2611be25134cf278e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:37:16.000Z",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/28057116004f96fe391a3da6c8d43025c6fa7bdd0a19fc9bd8ffa72b8edc1920",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:37:15.000Z",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/1104cefe3298cfa8ec04dd6bc5d943b504a3230257c7ebfe808b36955d7cf67c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:37:29.000Z",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/5ecddc7011cd8001f84896bbb74977006ccefa70ceff4fb8be7ea3197cd79a6b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:36:32.000Z",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/607642cbe7a9e07abfc771d753d85365ecb3c5492f085b005a865273debf04ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:36:28.000Z",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/4319baf192212f2273817555e2262726216f11ea2ed0790b975028540d8deef5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1.9000",
      "date": "2026-10-04T11:36:28.000Z",
      "commit": "5d925298563a83c3ecca194bec4923e8defc5625",
      "fileid": "https://r2.ropensci.org/cf971af66827ee5f5803cbb6bb1c83b6da11085fb80b9fffbdbc41af134b9d64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tidymodels/actions/runs/37198972905"
    }
  ]
}