Package 'scdb'

Title: Database Backend for Common Form Data
Description: Creates a database backend from `silicate` data.
Authors: Michael D. Sumner [aut, cre]
Maintainer: Michael D. Sumner <[email protected]>
License: GPL-3
Version: 0.0.1
Built: 2024-12-28 02:38:13 UTC
Source: https://github.com/hypertidy/scdb

Help Index


pholy

Description

Simple features 'sf' object.


scdb.

Description

scdb.


Build database from object.

Description

Objects are converted to 'silicate::PATH' common form.

Usage

write_db(x, src = NULL, ..., verbose = FALSE)

## S3 method for class 'sf'
write_db(x, src = NULL, ..., verbose = FALSE)

## S3 method for class 'sc'
write_db(x, src = NULL, ..., verbose = FALSE)

## S3 method for class 'list'
write_db(x, src = NULL, name, ..., verbose = FALSE)

## S3 method for class 'data.frame'
write_db(x, src = NULL, name, ...,
  verbose = FALSE)

Arguments

x

object

src

database

...

passed to methods

verbose

defaults to 'FALSE'

Value

db object

Examples

## hpoly is an in-built simple features multipolygon layer
library(silicate)
db <- write_db(hpoly)
db