rws_describe_meta.character: Add Descriptions to SQL Meta Data Table

View source: R/describe.R

rws_describe_meta.characterR Documentation

Add Descriptions to SQL Meta Data Table

Description

Add Descriptions to SQL Meta Data Table

Usage

## S3 method for class 'character'
rws_describe_meta(x, column, description, ..., conn)

Arguments

x

A character vector of table name(s).

column

A character vector of column name(s).

description

A character vector of the description(s)

...

Not used.

conn

A SQLiteConnection to a database.

Value

An invisible copy of the updated meta table.

See Also

Other rws_describe_meta: rws_describe_meta()

Examples

conn <- rws_connect()
rws_write(rws_data, exists = FALSE, conn = conn)
rws_read_meta(conn)
rws_describe_meta("rws_data", "Units", "The site length.", conn = conn)
rws_describe_meta("rws_data", "POSIXct", "Time of the visit", conn = conn)
rws_read_meta(conn)
rws_disconnect(conn)

readwritesqlite documentation built on Oct. 17, 2022, 1:06 a.m.