dbpf_fields: Return table of fields for all tables

View source: R/dbpf_fields.R

dbpf_fieldsR Documentation

Return table of fields for all tables

Description

Basic information on permafrost database @ Carleton University

Usage

dbpf_fields(con, tables = "")

Arguments

con

Database connection object, as returned by dbpf_con

tables

Character string or vector of table name(s). If empty, fields for all tables are returned. Default is tables="".

Details

These simple functions return all data as data frames. When making a query many times, optimise the SQL statement to only request the data you actually need.

Value

List of all fields for all tables in DB

Author(s)

Stephan Gruber <stephan.gruber@carleton.ca>

Examples

## Not run: 
con <- dbpf_con()
fds_o <- dbpf_fields(tables = "observations")

## End(Not run)

geocryology/PermafrostDB documentation built on April 17, 2025, 11:54 a.m.