{
  "_id": "6b04fb7375ab5e50c767af07",
  "Package": "cohortBuilder.db",
  "Type": "Package",
  "Title": "Database Source Layer for 'cohortBuilder'",
  "Version": "1.0.0",
  "Authors@R": "c(person('Krystian', 'Igras',\nemail = 'krystian8207@gmail.com',\nrole = c('cre', 'aut'))\n)",
  "Maintainer": "Krystian Igras <krystian8207@gmail.com>",
  "Description": "Extends 'cohortBuilder' with a source layer for database\ntables. Cohort filtering steps are translated to 'dbplyr'\nqueries and executed on the database server, so no data needs\nto be pulled into R. Supports the 'shinyCohortBuilder'\ngraphical interface and offers configurable strategies for how\nintermediate step results are passed between filtering steps.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/r-world-devs/cohortBuilder.db",
  "BugReports": "https://github.com/r-world-devs/cohortBuilder.db/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "KeepSource": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-24 02:45:13 UTC",
    "User": "root"
  },
  "Author": "Krystian Igras [cre, aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-23 14:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/cohortBuilder.db",
  "RemoteRef": "HEAD",
  "RemoteSha": "1e2bdca043cefb1f0f474c6378468d205292412a",
  "_user": "cran",
  "_type": "src",
  "_file": "cohortBuilder.db_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b6de7094cf9906685e367acba90042945c267d238f36831ea0a6e4c60a9bf448",
  "_filesize": 222586,
  "_sha256": "b6de7094cf9906685e367acba90042945c267d238f36831ea0a6e4c60a9bf448",
  "_expires": "2027-03-04T02:50:25.000Z",
  "_created": "2026-11-24T02:45:13.000Z",
  "_published": "2026-11-24T02:50:27.227Z",
  "_upstream": "https://github.com/cran/cohortBuilder.db",
  "_status": "failure",
  "_maintainer": {
    "name": "Krystian Igras",
    "email": "krystian8207@gmail.com",
    "login": "krystian8207",
    "description": "",
    "uuid": 20457043
  },
  "_jobs": [
    {
      "job": 138178674907,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14885242392"
    },
    {
      "job": 138178675067,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14884547579"
    },
    {
      "job": 138176991217,
      "time": 260,
      "config": "source",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14883914371"
    },
    {
      "job": 138178674862,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14884673113"
    },
    {
      "job": 138178674799,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14884282890"
    },
    {
      "job": 138178674848,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14885361658"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/45314164523",
  "_commit": {
    "id": "1e2bdca043cefb1f0f474c6378468d205292412a",
    "author": "Krystian Igras <krystian8207@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1795445402
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "dbplyr",
      "role": "Imports"
    },
    {
      "package": "cohortBuilder",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "queryBuilder",
      "role": "Imports"
    },
    {
      "package": "shinyWidgets",
      "role": "Imports"
    },
    {
      "package": "shinyCohortBuilder",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinyQueryBuilder",
      "role": "Suggests"
    },
    {
      "package": "RSQLite",
      "role": "Suggests"
    },
    {
      "package": "RPostgres",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-11-23"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "krystian8207",
      "count": 1,
      "uuid": 20457043
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cohortBuilder.db"
  },
  "_devurl": "https://github.com/r-world-devs/cohortbuilder.db",
  "_searchresults": 7,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/cohortBuilder.db.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-11-23"
    }
  ],
  "_authors": [
    {
      "name": "Krystian Igras",
      "email": "krystian8207@gmail.com",
      "role": [
        "cre",
        "aut"
      ]
    }
  ],
  "_exports": [
    "create_data_object",
    "db_class",
    "dbtables"
  ],
  "_help": [
    {
      "page": "cohortBuilder.db-package",
      "title": "cohortBuilder methods for database source",
      "topics": [
        "cohortBuilder.db-package",
        "cohortBuilder.db"
      ]
    },
    {
      "page": "available-filters-choices",
      "title": "Generate available filters choices based on the db Source data",
      "topics": [
        ".available_filters_choices.db"
      ]
    },
    {
      "page": "filter-position",
      "title": "Create target filter position in UI panel for db source",
      "topics": [
        ".filter_position.db"
      ]
    },
    {
      "page": "rendering-step-attrition",
      "title": "Generate output of attrition plot for db source",
      "topics": [
        ".step_attrition.db"
      ]
    },
    {
      "page": "autofilter",
      "title": "Generate filters definition based on the db Source data",
      "topics": [
        "autofilter.db"
      ]
    },
    {
      "page": "create_data_object",
      "title": "Build the db data object (table connections) for a source",
      "topics": [
        "create_data_object"
      ]
    },
    {
      "page": "db-filter-date-range",
      "title": "Date range filter methods for the `db` source",
      "topics": [
        "db-filter-date-range"
      ]
    },
    {
      "page": "db-filter-datetime-range",
      "title": "Datetime range filter methods for the `db` source",
      "topics": [
        "db-filter-datetime-range"
      ]
    },
    {
      "page": "db-filter-discrete",
      "title": "Discrete filter methods for the `db` source",
      "topics": [
        "db-filter-discrete"
      ]
    },
    {
      "page": "db-filter-discrete-text",
      "title": "Discrete text filter methods for the `db` source",
      "topics": [
        "db-filter-discrete-text"
      ]
    },
    {
      "page": "db-filter-multi-discrete",
      "title": "Multi discrete filter methods for the `db` source",
      "topics": [
        "db-filter-multi-discrete"
      ]
    },
    {
      "page": "db-filter-query",
      "title": "Query filter methods for the `db` source",
      "topics": [
        "db-filter-query"
      ]
    },
    {
      "page": "db-filter-range",
      "title": "Range filter methods for the `db` source",
      "topics": [
        "db-filter-range"
      ]
    },
    {
      "page": "dbtables",
      "title": "Configure database tables connection",
      "topics": [
        "dbtables"
      ]
    },
    {
      "page": "rendering-filters",
      "title": "Filters rendering method for db source",
      "topics": [
        ".render_filters.db",
        "rendering-filters"
      ]
    },
    {
      "page": "set_source.db",
      "title": "Create db-based Source",
      "topics": [
        "set_source.db"
      ]
    },
    {
      "page": "source-layer",
      "title": "Source compatibility methods for \"db\" layer.",
      "topics": [
        ".collect_data.db",
        ".get_attrition_count.db",
        ".get_attrition_label.db",
        ".get_stats.db",
        ".init_step.db",
        ".post_binding.db",
        ".pre_filtering.db",
        ".propagate_domains.db",
        ".repro_code_tweak.db",
        ".run_binding.db",
        "source-layer"
      ]
    },
    {
      "page": "step-strategy",
      "title": "Step execution strategy",
      "topics": [
        "step-strategy"
      ]
    },
    {
      "page": "updating-data-statistics",
      "title": "Update data statistics method for db source",
      "topics": [
        ".update_data_stats.db",
        "updating-data-statistics"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/cohortBuilder.db/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/cohortBuilder.db/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "blob",
    "bslib",
    "cachem",
    "cli",
    "cohortBuilder",
    "collapse",
    "commonmark",
    "cpp11",
    "DBI",
    "dbplyr",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "formatR",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "promises",
    "purrr",
    "queryBuilder",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinyCohortBuilder",
    "shinyGizmo",
    "shinyWidgets",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tryCatchLog",
    "utf8",
    "vctrs",
    "viridisLite",
    "watcher",
    "withr",
    "xfun",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "step-strategy.Rmd",
      "filename": "step-strategy.html",
      "title": "Choosing a step strategy",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What a step strategy controls",
        "Example setup",
        "Case 1: shallow cohort over large tables - \"lazy\"",
        "Case 2: deep cohort, data collected repeatedly - \"materialize\"",
        "Case 3: many tables, few of them filtered - \"materialize_selective\"",
        "Case 4: databases without a pg_temp schema (e.g. Redshift)",
        "Case 5: switching strategies mid-session",
        "Things to keep in mind"
      ],
      "created": "2026-11-23 14:50:02",
      "modified": "2026-11-23 14:50:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "cohortbuilder.db",
  "_universes": [
    "cran",
    "krystian8207",
    "r-world-devs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-24T02:49:34.000Z",
      "distro": "resolute",
      "commit": "1e2bdca043cefb1f0f474c6378468d205292412a",
      "fileid": "https://r2.ropensci.org/59d1c65a9fe5e56b90ad72a410aa510af23fe9d2c7807117eba16c4154a270cc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45314164523"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-24T02:48:44.000Z",
      "distro": "resolute",
      "commit": "1e2bdca043cefb1f0f474c6378468d205292412a",
      "fileid": "https://r2.ropensci.org/66e79f43088884e2a65e53f71deb89d0f724da9e14739d9238b910d64abe20d6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45314164523"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-11-24T02:48:27.000Z",
      "commit": "1e2bdca043cefb1f0f474c6378468d205292412a",
      "fileid": "https://r2.ropensci.org/4d601e3199d46db748056aeb2ac09e21990a40740b322c480fe76d9783b788d1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45314164523"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-24T02:47:07.000Z",
      "commit": "1e2bdca043cefb1f0f474c6378468d205292412a",
      "fileid": "https://r2.ropensci.org/f5c479504aab4432d7c2a47edc8bb1fafced3e51ad1b29b351498117f22a82de",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45314164523"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-24T02:47:13.000Z",
      "commit": "1e2bdca043cefb1f0f474c6378468d205292412a",
      "fileid": "https://r2.ropensci.org/92fdb2c36904f9aa7d606e97a6511ac145c1485edb3ac6754b7d10ff89751024",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/45314164523"
    }
  ]
}