peek: Peek

Description Usage Arguments Value Note See Also Examples

View source: R/peek.R

Description

Examine a metadata field of STAR objects.

Usage

1
peek(x, field = "Assessment_ID")

Arguments

x

STAR object or a cluster (list) of STAR objects. Alternatively, x can be an Excel STAR template filename or directory name.

field

a metadata field, by default "Assessment_ID".

Value

Metadata field from STAR object(s).

Note

This function is convenient to quickly examine a cluster (list) of STAR objects after importing many STAR templates. See example below.

See Also

import.many.templates imports many Excel STAR templates from a directory into a cluster (list).

gfcmSTAR-package gives an overview of the package.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 

peek(star)
peek(star, "Scientific_Name")
peek(star, "Status_Fref")

peek(star)         # object
peek(cluster)      # cluster
peek("STAR.xlsx")  # file
peek("folder")     # dir

## End(Not run)

gfcm/gfcmSTAR documentation built on Feb. 5, 2022, 2:14 p.m.