Describe a new site

db_describe_site(db, site_code, sitetypecv = "Site", site_name = NULL,
  site_description = NULL)

Arguments

db

database connection object

site_code

unique short code name (required)

sitetypecv

samplingfeature type from controlled vocab, defaults to "Site"

site_name

optional longer site name

site_description

optional longer site description

Value

message that site was added

See also

Examples

db <- create_sqlite(connect = TRUE) db_describe_site(db, site_code = "site1")
#> Site site1 has been entered into the samplingfeatures table.