db_describe_organization: Add a new entry to the Organizations table

Description Usage Arguments Value See Also Examples

View source: R/db_describe_organization.R

Description

Add a new entry to the Organizations table

Usage

1
2
db_describe_organization(db = db, OrganizationTypeCV, OrganizationCode,
  OrganizationName)

Arguments

db

database connection object to sqlite or postgresql database with odm2 schema

OrganizationTypeCV

Organization type from controlled vocabulary (e.g., government agency, university, etc.)

OrganizationCode

A unique text code identifying the Organization (e.g., USGS)

OrganizationName

The full text name of the organization

Value

message that your entry has been added

See Also

Other describe functions: db_describe_annotation, db_describe_equipment, db_describe_method, db_describe_person, db_describe_site, db_describe_variable

Examples

1
2
db <- rodm2::create_sqlite(connect = TRUE)
db_describe_organization(db, "Manufacturer", "Onset", "Onset")

khondula/rodm2 documentation built on Jan. 9, 2020, 1:48 p.m.