{
  "_id": "6a17afe9acfb0bcc41d9ac52",
  "Package": "dbSpatial",
  "Title": "Spatial Data Operations for Database-Backed Geometries",
  "Version": "0.1.2",
  "Authors@R": "c(person(\"Edward\", \"C. Ruiz\", , \"ecr7407@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9174-5387\")),\nperson(\"Jiaji\", \"George Chen\", email = \"jiajic@bu.edu\", role = c(\"aut\")),\nperson(\"Ruben\", \"Dries\", email = \"rubendries@gmail.com\",role = c(\"aut\", \"rev\")))",
  "Description": "Provides database-backed spatial geometry classes and\nmethods for working with vector spatial data in 'DuckDB'. The\npackage supports loading, converting, querying, joining, and\nmeasuring spatial geometries through familiar 'sf'-style\ninterfaces while keeping geometry columns lazy inside the\ndatabase. It integrates with 'dbProject' to preserve database\npaths, live connections, and spatial table metadata across\ninteractive sessions. The package follows the Simple Features\nframework described by Pebesma (2018)\n<doi:10.32614/RJ-2018-009> and uses DuckDB's spatial extension\n<https://duckdb.org/docs/stable/core_extensions/spatial/overview.html>.",
  "License": "GPL-3 | MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/dbverse-org/dbspatial-r,\nhttps://dbverse-org.github.io/dbspatial-r/",
  "BugReports": "https://github.com/dbverse-org/dbspatial-r/issues",
  "Config/testthat/edition": "3",
  "Collate": "'utils.R' 'generics.R' 'classes.R' 'accessors.R'\n'as_dbSpatial.R' 'coerce.R' 'constructors.R' 'dbSpatial.R'\n'extract.R' 'geometry_ops.R' 'global.R' 'imports.R'\n'input_validation.R' 'loadSpatial.R' 'measurements.R' 'show.R'\n'sim_dbSpatial.R' 'sql_gen.R' 'st_as_sf.R' 'st_bbox.R'\n'st_geometry_type.R' 'st_geometrytype.R' 'st_is_valid.R'\n'st_spatial_join.R' 'st_join.R' 'st_read.R' 'st_translate.R'\n'st_xmax.R' 'st_ymax.R' 'vect.R'",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake libicu-dev libuv1-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev xz-utils",
  "Repository": "https://dbverse-org.r-universe.dev",
  "Date/Publication": "2026-05-28 00:47:05 UTC",
  "RemoteUrl": "https://github.com/dbverse-org/dbspatial-r",
  "RemoteRef": "HEAD",
  "RemoteSha": "7114a51db211acdfdefcba24b8ba570643640974",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 02:55:45 UTC",
    "User": "root"
  },
  "Author": "Edward C. Ruiz [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9174-5387>),\nJiaji George Chen [aut],\nRuben Dries [aut, rev]",
  "Maintainer": "Edward C. Ruiz <ecr7407@gmail.com>",
  "MD5sum": "9371003981f09861c2a3e7d54fee0719",
  "_user": "dbverse-org",
  "_type": "src",
  "_file": "dbSpatial_0.1.2.tar.gz",
  "_fileid": "e82b62978138df25507b84606e625f18670929d49a4f0e4f224acfa0cd492dff",
  "_filesize": 267060,
  "_sha256": "e82b62978138df25507b84606e625f18670929d49a4f0e4f224acfa0cd492dff",
  "_created": "2026-05-28T02:55:45.000Z",
  "_published": "2026-05-28T03:00:57.871Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78215272929,
      "time": 254,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7256772891"
    },
    {
      "job": 78215272976,
      "time": 246,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256771597"
    },
    {
      "job": 78215272986,
      "time": 127,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7256750164"
    },
    {
      "job": 78215272958,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256753529"
    },
    {
      "job": 78214804355,
      "time": 300,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256726896"
    },
    {
      "job": 78215272938,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256750373"
    },
    {
      "job": 78215272961,
      "time": 199,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7256763476"
    },
    {
      "job": 78215272970,
      "time": 200,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7256763821"
    },
    {
      "job": 78215272973,
      "time": 195,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7256762705"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dbverse-org/dbspatial-r",
  "_commit": {
    "id": "7114a51db211acdfdefcba24b8ba570643640974",
    "author": "Ed2uiz <ecr7407@gmail.com>",
    "committer": "Ed2uiz <ecr7407@gmail.com>",
    "message": "chore: bump dbSpatial version for CRAN resubmission\n",
    "time": 1779929225
  },
  "_maintainer": {
    "name": "Edward C. Ruiz",
    "email": "ecr7407@gmail.com",
    "login": "ed2uiz",
    "bluesky": "@ed2uiz.bsky.social",
    "description": "Open source, spatial omics.",
    "uuid": 32622519,
    "orcid": "0000-0002-9174-5387"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "dbplyr",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "e1071",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "dbProject",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "dbverse-org",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 8
    },
    {
      "week": "2025-40",
      "n": 7
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 6
    },
    {
      "week": "2026-01",
      "n": 20
    },
    {
      "week": "2026-02",
      "n": 3
    },
    {
      "week": "2026-03",
      "n": 11
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 8
    },
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.0.0.9110",
      "date": "2026-01-13"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "ed2uiz",
      "count": 179,
      "uuid": 32622519
    }
  ],
  "_userbio": {
    "uuid": 210240781,
    "type": "organization",
    "name": "dbverse-org"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dbSpatial"
  },
  "_devurl": "https://github.com/dbverse-org/dbspatial-r",
  "_pkgdown": "https://dbverse-org.github.io/dbspatial-r/",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dbSpatial.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-05-27"
    }
  ],
  "_exports": [
    "as_dbSpatial",
    "dbSpatial",
    "head",
    "loadSpatial",
    "st_as_geojson",
    "st_geometrytype",
    "st_npoints",
    "st_translate",
    "st_x",
    "st_xmax",
    "st_y",
    "st_ymax",
    "tail",
    "vect"
  ],
  "_help": [
    {
      "page": "cash-dbSpatial-method",
      "title": "Column extraction for dbSpatial",
      "topics": [
        "$,dbSpatial-method"
      ]
    },
    {
      "page": "as_dbSpatial",
      "title": "Convert an sf or terra object to a 'dbSpatial' object",
      "concept": [
        "dbSpatial"
      ],
      "topics": [
        "as_dbSpatial"
      ]
    },
    {
      "page": "dbSpatial",
      "title": "Create a 'dbSpatial' object with geometry data type",
      "concept": [
        "dbSpatial"
      ],
      "topics": [
        "dbSpatial",
        "dbSpatial-class"
      ]
    },
    {
      "page": "dbSpatial_options",
      "title": "dbSpatial Package Global Options",
      "concept": [
        "options"
      ],
      "topics": [
        "dbSpatial-options",
        "dbSpatial_options"
      ]
    },
    {
      "page": "head",
      "title": "head method for dbSpatial",
      "concept": [
        "dbData"
      ],
      "topics": [
        "head,dbSpatial-method"
      ]
    },
    {
      "page": "loadSpatial",
      "title": "Install and/or load DuckDB spatial extension",
      "concept": [
        "duckdb-ext"
      ],
      "topics": [
        "loadSpatial"
      ]
    },
    {
      "page": "show",
      "title": "show method for dbSpatial",
      "concept": [
        "dbSpatial"
      ],
      "topics": [
        "show,dbSpatial-method"
      ]
    },
    {
      "page": "st_area",
      "title": "Get area of geometries",
      "concept": [
        "measurements"
      ],
      "topics": [
        "st_area"
      ]
    },
    {
      "page": "st_as_geojson",
      "title": "Convert to GeoJSON",
      "concept": [
        "constructors"
      ],
      "topics": [
        "st_as_geojson",
        "st_as_geojson.dbSpatial"
      ]
    },
    {
      "page": "st_as_sf.dbSpatial",
      "title": "Convert dbSpatial objects to sf objects",
      "concept": [
        "dbSpatial"
      ],
      "topics": [
        "st_as_sf.dbSpatial"
      ]
    },
    {
      "page": "st_as_text",
      "title": "Convert to WKT",
      "concept": [
        "constructors"
      ],
      "topics": [
        "st_as_text"
      ]
    },
    {
      "page": "st_bbox",
      "title": "Compute bounding box for dbSpatial object",
      "concept": [
        "geom_summary"
      ],
      "topics": [
        "st_bbox",
        "st_bbox.dbSpatial"
      ]
    },
    {
      "page": "st_buffer",
      "title": "Compute buffer around geometry",
      "concept": [
        "geometry_ops"
      ],
      "topics": [
        "st_buffer"
      ]
    },
    {
      "page": "st_centroid",
      "title": "Compute centroid of geometry",
      "concept": [
        "geometry_ops"
      ],
      "topics": [
        "st_centroid"
      ]
    },
    {
      "page": "st_geometrytype",
      "title": "Get geometry types (DuckDB-native)",
      "concept": [
        "geom_scalar"
      ],
      "topics": [
        "st_geometrytype"
      ]
    },
    {
      "page": "st_join.dbSpatial",
      "title": "Spatial join for dbSpatial objects",
      "topics": [
        "st_join.dbSpatial"
      ]
    },
    {
      "page": "st_length",
      "title": "Get length of geometries",
      "concept": [
        "measurements"
      ],
      "topics": [
        "st_length"
      ]
    },
    {
      "page": "st_npoints",
      "title": "Get number of points",
      "concept": [
        "accessors"
      ],
      "topics": [
        "st_npoints",
        "st_npoints,dbSpatial-method"
      ]
    },
    {
      "page": "st_perimeter",
      "title": "Get perimeter of geometries",
      "concept": [
        "measurements"
      ],
      "topics": [
        "st_perimeter"
      ]
    },
    {
      "page": "st_simplify",
      "title": "Simplify geometry",
      "concept": [
        "geometry_ops"
      ],
      "topics": [
        "st_simplify"
      ]
    },
    {
      "page": "st_translate",
      "title": "Translate x, y coordinates by delta x, delta y for point geometries",
      "concept": [
        "geom_construction"
      ],
      "topics": [
        "st_translate",
        "st_translate,dbSpatial-method"
      ]
    },
    {
      "page": "st_x",
      "title": "Get X coordinate",
      "concept": [
        "accessors"
      ],
      "topics": [
        "st_x",
        "st_x,dbSpatial-method"
      ]
    },
    {
      "page": "st_xmax",
      "title": "Get maximum x coordinate",
      "concept": [
        "geom_summary"
      ],
      "topics": [
        "st_xmax",
        "st_xmax,dbSpatial-method"
      ]
    },
    {
      "page": "st_y",
      "title": "Get Y coordinate",
      "concept": [
        "accessors"
      ],
      "topics": [
        "st_y",
        "st_y,dbSpatial-method"
      ]
    },
    {
      "page": "st_ymax",
      "title": "Get maximum y coordinate",
      "concept": [
        "geom_summary"
      ],
      "topics": [
        "st_ymax",
        "st_ymax,dbSpatial-method"
      ]
    },
    {
      "page": "tail",
      "title": "tail method for dbSpatial",
      "concept": [
        "dbData"
      ],
      "topics": [
        "tail,dbSpatial-method"
      ]
    },
    {
      "page": "vect-dbSpatial-method",
      "title": "Create SpatVector objects",
      "concept": [
        "dbSpatial"
      ],
      "topics": [
        "vect,dbSpatial-method"
      ]
    }
  ],
  "_readme": "https://github.com/dbverse-org/dbspatial-r/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "blob",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "connections",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "dbplyr",
    "dbProject",
    "digest",
    "dplyr",
    "duckdb",
    "e1071",
    "fs",
    "generics",
    "glue",
    "httr",
    "jsonlite",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "mime",
    "openssl",
    "pillar",
    "pins",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "rscontract",
    "s2",
    "sf",
    "stringi",
    "stringr",
    "sys",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "uuid",
    "vctrs",
    "whisker",
    "withr",
    "wk",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "class_structure.Rmd",
      "filename": "class_structure.html",
      "title": "Class Structure",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Class Structure",
        "Minimal example"
      ],
      "created": "2024-01-03 03:00:59",
      "modified": "2026-05-09 17:40:59",
      "commits": 8
    },
    {
      "source": "getting_started.Rmd",
      "filename": "getting_started.html",
      "title": "Getting Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a DuckDB connection",
        "Reading in spatial data from various sources",
        "From data.frames",
        "From .csv file",
        "From {terra} objects: SpatVector"
      ],
      "created": "2024-01-03 03:00:59",
      "modified": "2026-05-09 17:40:59",
      "commits": 7
    },
    {
      "source": "spatial_operations.Rmd",
      "filename": "spatial_operations.html",
      "title": "Spatial Operations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Setup",
        "Geometry Operations",
        "Measurements",
        "Spatial Joins",
        "Convert to sf"
      ],
      "created": "2024-01-03 03:00:59",
      "modified": "2026-05-09 17:40:59",
      "commits": 14
    }
  ],
  "_score": 4.632457292184724,
  "_indexed": true,
  "_nocasepkg": "dbspatial",
  "_universes": [
    "dbverse-org",
    "ed2uiz"
  ],
  "_previous": "0.1.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-28T02:58:44.000Z",
      "distro": "noble",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "9faa5923d14bbdbf1006ce7e6df753f16ea904e021ee354bd7e03ba4e9e00cff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-28T02:58:43.000Z",
      "distro": "noble",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "5f6dc1366ea7fdb2c32cc5c1d1a2ce7033fbdd4646fc51421573575da359fd73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-28T02:57:30.000Z",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "c133806fc87847fead098870f81934fcf10d4527c57e7b79823d8deb900b2ff0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-28T02:57:39.000Z",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "90f56e256417351027b5c383154cd3f9f492745317bdf472dc23230f72e4caf7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-05-28T02:58:26.000Z",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "8db9e496f8672b96c56d878ea3fd340264a5c98724055db527926c15a6c98a92",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-28T02:57:38.000Z",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "68ee7b67e2f12ca131c7a5e4356dc16a314f623f4b9d0c6a5af4e306b358b5f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-28T02:57:36.000Z",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "8b5a266908bd0c3163d697dcb0dfcc9925ee729ea424267a8d02b214960f8eb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-28T02:57:25.000Z",
      "commit": "7114a51db211acdfdefcba24b8ba570643640974",
      "fileid": "41a9387d1699bb548035bf140de2523942aed04181c3b796106360a805032f4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dbverse-org/actions/runs/26551634751"
    }
  ]
}