Learn R Programming

SWMPrExtension (version 1.1.6)

get_site_code: Return NERRS reserve site code based on data in the data file

Description

Identify the 3-letter NERRS reserve code from metadata in the data file

Usage

get_site_code(data.file)

Arguments

data.file

data source location

Value

Returns 3-letter, reserve site code as chr

Details

This function is intended for internal use with the NERRS reserve level reporting scripts. It returns the 3-letter reserve code associated with the data in the user-specified data folder.