Subsets the ws_monitor$data
dataframe by removing any monitors that
lie outisde the geographical ranges specified (i.e. outside of the given longitudes and
latitudes and/or states) and that are not mentioned in the list of monitorIDs.
If any parameter is not specified, that parameter will not be used in the subsetting.
Intended for use by the monitor_subset function.
monitor_subsetMeta(meta, xlim = NULL, ylim = NULL, stateCodes = NULL,
countryCodes = NULL, monitorIDs = NULL)
ws_monitor object meta
dataframe
optional vector with low and high longitude limits
optional vector with low and high latitude limits
optional vector of stateCodes
optional vector of countryCodes
optional vector of monitorIDs
A ws_monitor object meta
dataframe, or NULL
if filtering removes all monitors.
Longitudes must be specified in the domain [-180,180].