project: Project Identifiers

View source: R/project.R

projectR Documentation

Project Identifiers

Description

Functions to retrieve or assign project identifiers to objects.

Usage

project(x, ...)

Arguments

x

Target object.

...

Other arguments (not used).

value

Character string(s) specifying the project identifier to be assigned.

verbose

Logical value specifying whether to return a character string result in long form.

Details

The project attribute may be erased by assigning a NULL value to it.

Value

An object with a project attribute attached to it.

Functions

project

Generic project extraction method.

project.default

Default project extraction method.

project.character

Find project name.

project<-

Generic project assignment method.

project<-.default

Default project assignment method.

See Also

metadata

Examples

x <- data.frame(year = 2010:2014, measurement = rnorm(5))
project(x) <- "test.survey"

# Show attributes:
attributes(x)

# Erase 'project' attribute:
project(x) <- NULL   # Remove all projects.

# Load entire project table:
project()

# Find project name in project table:
project("sc")
project("snow crab survey")
project("snow crab fecundity")
project("rv")
project("september survey") 
project("Northumberland") 
project("rv", verbose = TRUE) # Long form.


TobieSurette/gulf.metadata documentation built on Dec. 31, 2022, 5:35 a.m.