Function to read the "where.measured" attribute of an existing generic_spct.
getWhereMeasured(x, ...)where_measured(x, ...)
# S3 method for default
getWhereMeasured(x, ...)
# S3 method for generic_spct
getWhereMeasured(x, ...)
# S3 method for summary_generic_spct
getWhereMeasured(x, ...)
# S3 method for generic_mspct
getWhereMeasured(x, ..., idx = "spct.idx", .bind.geocodes = TRUE)
a generic_spct object
Allows use of additional arguments in methods for other classes.
character Name of the column with the names of the members of the collection of spectra.
logical In the case of collections of spectra if
.bind.geocodes = TRUE
, the default, the returned value is a single
geocode with one row for each member spectrum. Otherwise the individual
geocode data frames are returned in a list column within a tibble.
a data.frame with a single row and at least columns "lon" and "lat",
unless expand is set to FALSE
.
default
: default
generic_spct
: generic_spct
summary_generic_spct
: summary_generic_spct
generic_mspct
: generic_mspct
Other measurement metadata functions:
add_attr2tb()
,
getFilterProperties()
,
getHowMeasured()
,
getInstrDesc()
,
getInstrSettings()
,
getWhatMeasured()
,
getWhenMeasured()
,
get_attributes()
,
isValidInstrDesc()
,
isValidInstrSettings()
,
select_spct_attributes()
,
setFilterProperties()
,
setHowMeasured()
,
setInstrDesc()
,
setInstrSettings()
,
setWhatMeasured()
,
setWhenMeasured()
,
setWhereMeasured()
,
spct_attr2tb()
,
spct_metadata()
,
trimInstrDesc()
,
trimInstrSettings()
# NOT RUN {
where_measured(sun.spct)
# }
Run the code above in your browser using DataLab