connect_cyan: Connect to the CyAN database

Description Usage Arguments Value Examples

View source: R/database.R

Description

Generate a connection to the CyAN database or another sqlite database using the CyAN schema and parameter table

Usage

1

Arguments

path

a character string giving the path to the database

Value

a SQLite database connection

Examples

1
2
3
#Connect to the example database bundled with CyAN
path <- system.file("extdata", "example.db", package = "CyAN")
db_connection <- connect_cyan(path)

USGS-R/CyAN documentation built on Sept. 29, 2019, 3:52 p.m.