{
  "_id": "6ae99ee8818c9e3ef6dbed84",
  "Package": "dbmisc",
  "Type": "Package",
  "Title": "Tools for working with SQLite in R",
  "Version": "0.3",
  "Date": "2021-03-11",
  "Author": "Sebastian Kranz",
  "Maintainer": "Sebastian Kranz <sebastian.kranz@uni-ulm.de>",
  "Description": "Tools for working with SQLite in R, in particular support\nfor simple YAML schemas.",
  "License": "GPL >= 2.0",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://skranz.r-universe.dev",
  "Date/Publication": "2022-10-15 06:02:54 UTC",
  "RemoteUrl": "https://github.com/skranz/dbmisc",
  "RemoteRef": "master",
  "RemoteSha": "aef87129585de20453627f7246effebf00fac596",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 08:31:18 UTC",
    "User": "root"
  },
  "_user": "skranz",
  "_type": "src",
  "_file": "dbmisc_0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/4a9e0d6bf37f446ebfa756098768f0f50c5e153e5bd3a53947c181868975aec3",
  "_filesize": 162044,
  "_sha256": "4a9e0d6bf37f446ebfa756098768f0f50c5e153e5bd3a53947c181868975aec3",
  "_expires": "2027-02-11T08:44:22.000Z",
  "_created": "2026-11-03T08:31:18.000Z",
  "_published": "2026-11-03T08:44:24.236Z",
  "_upstream": "https://github.com/skranz/dbmisc",
  "_status": "success",
  "_maintainer": {
    "name": "Sebastian Kranz",
    "email": "sebastian.kranz@uni-ulm.de",
    "login": "skranz",
    "bluesky": "@sebkranz.bsky.social",
    "description": "",
    "uuid": 1413022
  },
  "_jobs": [
    {
      "job": 125809014354,
      "time": 95,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13215822599"
    },
    {
      "job": 125809014449,
      "time": 108,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13215603874"
    },
    {
      "job": 125809014608,
      "time": 76,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13215284220"
    },
    {
      "job": 125809014534,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13216341671"
    },
    {
      "job": 125807638659,
      "time": 199,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13215936721"
    },
    {
      "job": 125809015438,
      "time": 87,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13214734040"
    },
    {
      "job": 125809014550,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13215508843"
    },
    {
      "job": 125809014417,
      "time": 79,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13215123690"
    },
    {
      "job": 125809014887,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13215024459"
    }
  ],
  "_buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840",
  "_commit": {
    "id": "aef87129585de20453627f7246effebf00fac596",
    "author": "Sebastian Kranz <sebkranz@gmail.com>",
    "committer": "Sebastian Kranz <sebkranz@gmail.com>",
    "message": "Update db_util.r\n\nbugfix\n",
    "time": 1665813774
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "DBI",
      "role": "Depends"
    },
    {
      "package": "restorepoint",
      "role": "Depends"
    },
    {
      "package": "yaml",
      "role": "Depends"
    },
    {
      "package": "stringtools",
      "role": "Depends"
    },
    {
      "package": "glue",
      "role": "Depends"
    }
  ],
  "_owner": "skranz",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "database",
    "schema",
    "sql",
    "sqlite"
  ],
  "_stars": 27,
  "_contributors": [
    {
      "user": "skranz",
      "count": 35,
      "uuid": 1413022
    }
  ],
  "_userbio": {
    "uuid": 1413022,
    "type": "user",
    "name": "Sebastian Kranz",
    "followers": 215
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dbmisc"
  },
  "_devurl": "https://github.com/skranz/dbmisc",
  "_searchresults": 17,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dbmisc.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "convert.db.to.r",
    "convert.r.to.db",
    "dbConnectSQLiteWithSchema",
    "dbCreateSchemaTable",
    "dbCreateSchemaTables",
    "dbCreateSQLiteFromSchema",
    "dbDelete",
    "dbGet",
    "dbGetMemoise",
    "dbInsert",
    "dbTableCols",
    "dbUpdate",
    "empty.df.from.schema",
    "empty.row.from.schema",
    "example.empty.row.schema",
    "get.db.schema",
    "get.db.schemas",
    "get.table.memoise",
    "init.schema",
    "load.and.init.schemas",
    "logDBcommand",
    "schema.r.classes",
    "schema.template",
    "set.db.schema",
    "set.db.schemas",
    "set.table.memoise",
    "sql.where.code",
    "to.db.date",
    "to.db.datetime"
  ],
  "_help": [
    {
      "page": "convert.db.to.r",
      "title": "Convert data from a database table to R format",
      "topics": [
        "convert.db.to.r"
      ]
    },
    {
      "page": "convert.r.to.db",
      "title": "Convert data from a database table to R format",
      "topics": [
        "convert.r.to.db"
      ]
    },
    {
      "page": "dbConnectSQLiteWithSchema",
      "title": "Creates a connection to an SQLite database and sets the specified schema",
      "topics": [
        "dbConnectSQLiteWithSchema"
      ]
    },
    {
      "page": "dbCreateSchemaTable",
      "title": "Create database table and possible indices from a simple yaml schema",
      "topics": [
        "dbCreateSchemaTable"
      ]
    },
    {
      "page": "dbCreateSchemaTables",
      "title": "Create or update database tables and possible indices from a simple yaml schema",
      "topics": [
        "dbCreateSchemaTables"
      ]
    },
    {
      "page": "dbCreateSQLiteFromSchema",
      "title": "Create or update a SQLite database from a schema file",
      "topics": [
        "dbCreateSQLiteFromSchema"
      ]
    },
    {
      "page": "dbDelete",
      "title": "Delete row(s) from table",
      "topics": [
        "dbDelete"
      ]
    },
    {
      "page": "dbGet",
      "title": "Get rows from a table",
      "topics": [
        "dbGet"
      ]
    },
    {
      "page": "dbGetMemoise",
      "title": "Get results from a database like dbGet put buffer the results in memory",
      "topics": [
        "dbGetMemoise"
      ]
    },
    {
      "page": "dbInsert",
      "title": "Insert row(s) into table",
      "topics": [
        "dbInsert"
      ]
    },
    {
      "page": "dbTableCols",
      "title": "Get a data frame with column information for a database table",
      "topics": [
        "dbTableCols"
      ]
    },
    {
      "page": "dbUpdate",
      "title": "Update a row in a database table",
      "topics": [
        "dbUpdate"
      ]
    },
    {
      "page": "empty.df.from.schema",
      "title": "Creates an example data frame from a database schema table using provided column values and default values specified in schema",
      "topics": [
        "empty.df.from.schema"
      ]
    },
    {
      "page": "empty.row.from.schema",
      "title": "Creates an example row from a database schema table using provided column values and default values specified in schema",
      "topics": [
        "empty.row.from.schema"
      ]
    },
    {
      "page": "get.db.schema",
      "title": "Extract schemas from a data base connection",
      "topics": [
        "get.db.schema"
      ]
    },
    {
      "page": "init.schema",
      "title": "Init a schema by parsing table definition and store info in easy accessibale R format",
      "topics": [
        "init.schema"
      ]
    },
    {
      "page": "load.and.init.schemas",
      "title": "Load and init database table schemas from yaml file",
      "topics": [
        "load.and.init.schemas"
      ]
    },
    {
      "page": "logDBcommand",
      "title": "log a command that changes a database",
      "topics": [
        "logDBcommand"
      ]
    },
    {
      "page": "schema.r.classes",
      "title": "Get a vector of R classes of the database columns described in a schema",
      "topics": [
        "schema.r.classes"
      ]
    },
    {
      "page": "schema.template",
      "title": "Create an example schema from a list of R objects",
      "topics": [
        "schema.template"
      ]
    },
    {
      "page": "set.db.schema",
      "title": "Set schemas as hidden attribute to a data base connection db",
      "topics": [
        "set.db.schema"
      ]
    },
    {
      "page": "sql.where.code",
      "title": "Create a parametrized or escaped SQL WHERE clause from the provided parameters.",
      "topics": [
        "sql.where.code"
      ]
    },
    {
      "page": "to.db.date",
      "title": "Convert an R object to a date object that can be used in a WHERE clause.",
      "topics": [
        "to.db.date"
      ]
    },
    {
      "page": "to.db.datetime",
      "title": "Convert an R object to a datetime object that can be used in a WHERE clause.",
      "topics": [
        "to.db.datetime"
      ]
    }
  ],
  "_readme": "https://github.com/skranz/dbmisc/raw/master/README.md",
  "_rundeps": [
    "cli",
    "DBI",
    "glue",
    "lifecycle",
    "magrittr",
    "restorepoint",
    "rlang",
    "stringi",
    "stringr",
    "stringtools",
    "vctrs",
    "yaml"
  ],
  "_score": 4.315025199312605,
  "_indexed": true,
  "_nocasepkg": "dbmisc",
  "_universes": [
    "skranz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3",
      "date": "2026-11-03T08:33:05.000Z",
      "distro": "resolute",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/c02b1769dd4fdc595cae7ee242a6e1c8dfe1539ed2aca0c9a784ea2222da2ecb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3",
      "date": "2026-11-03T08:33:18.000Z",
      "distro": "resolute",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/0df5dca88675a5619956a90d5d30a3acacd7e55fa86a2bc0d4eedd0d3f89db12",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3",
      "date": "2026-11-03T08:37:37.000Z",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/cefc1a7fc04fb9977a913cc0977352e625c75b96568803e45503f7fd6b45ec61",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3",
      "date": "2026-11-03T08:43:52.000Z",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/844591248751f9bcfa80cb4533360342b6fe12543ea806a34cc063b13ceb8134",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3",
      "date": "2026-11-03T08:33:09.000Z",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/56e8d6e3ef23972fa4b4dc8a9c92c5baed0c7e020d20af5cc2d1e8cc85ed0edf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3",
      "date": "2026-11-03T08:32:37.000Z",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/ac61db69265974682a6676b909e95b2fa7fea04e40ba182595564d8a4eaa1de5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3",
      "date": "2026-11-03T08:32:38.000Z",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/be4c68e8e7fdd80917c7947968b8d2ffe78cf1b0529f7210b665e61167d2f473",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3",
      "date": "2026-11-03T08:32:38.000Z",
      "commit": "aef87129585de20453627f7246effebf00fac596",
      "fileid": "https://r2.ropensci.org/80c33a2d5c415334b8028f72860f954d9a40767020d10980e0ee012976614cb1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/skranz/actions/runs/41603472840"
    }
  ]
}