Learn R Programming

SWMPrExtension (version 2.2.5.1)

get_site_coordinates: Identify NERRS sampling locations from metadata

Description

Identify the latitude/longitude for sampling stations based on the metadata in the data file

Usage

get_site_coordinates(data.file, active = TRUE)

Value

Returns a dataframe of station ids, station names, lat/long

Arguments

data.file

location of data

active

logical. Only return active stations?

Author

Julie Padilla

Details

This function is intended for internal use with the NERRS reserve level reporting scripts. It returns the names, station codes, and coordinates associated with the data in the user-specified data folder.