Learn R Programming

SWMPrExtension (version 2.2.5.1)

geographic_unique_stations: Return a vector of geographically unique NERR Stations

Description

Creates an alphabetically sorted, vector of geographically unique stations for mapping

Usage

geographic_unique_stations(nerr_site_id)

Value

returns a vector of NERR stations

Arguments

nerr_site_id

chr vector of valid NERR stations

Author

Julie Padilla

Details

This function is intended for internal use with the NERRS reserve level reporting scripts and is used along with res_local_map. It takes a vector of NERR site ids and only returns geographically unique locations.

Examples

Run this code
stns <- c('apacpnut', 'apacpwq', 'apadbnut', 'apadbwq', 'apaebmet',
'apaebnut', 'apaebwq', 'apaesnut', 'apaeswq')

geographic_unique_stations(stns)

Run the code above in your browser using DataLab