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

View source: R/get_site_code.R

get_site_codeR Documentation

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

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.

Value

Returns 3-letter, reserve site code as chr

Author(s)

Julie Padilla


SWMPrExtension documentation built on April 21, 2023, 1:14 a.m.