db_describe_person: Describe a new person in the people and affiliations tables

Description Usage Arguments Value See Also Examples

View source: R/db_describe_person.R

Description

Describe a new person in the people and affiliations tables

Usage

1
2
db_describe_person(db = db, PersonFirstName, PersonLastName,
  AffiliationStartDate = Sys.Date(), PrimaryEmail)

Arguments

db

Database connection object

PersonFirstName

First name of the person

PersonLastName

Last name of the person

AffiliationStartDate

The date (YYYY-MM-DD) on which the person became affiliated with the organization. Default is todays date

PrimaryEmail

The primary email address of the person

Value

message that person was entered into database

See Also

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

Examples

1
2
3
4
5
db <- rodm2::create_sqlite(connect = TRUE)
db_describe_person(db = db, PersonFirstName = "Wendy",
   PersonLastName = "Wetland",
    AffiliationStartDate = "2018-01-01",
    PrimaryEmail = "wendy 'at' swamps.edu")

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