getSites: returns a vector of siteID's of sites with the most data for...

View source: R/getSites.R

getSitesR Documentation

returns a vector of siteID's of sites with the most data for the specified time period for specific chemicals or pH

Description

returns a vector of siteID's of sites with the most data for the specified time period for specific chemicals or pH

Usage

getSites(startdateStr, enddateStr, maxn, mins, comp, optR)

Arguments

startdateStr

String, when to start analyzing data, format = "m/d/y H:M"

enddateStr

String, when to stop analyzing data, format = "m/d/y H:M"

maxn

Maximum number of sites required

mins

Minimum number of data required for each site

comp

Vector of strings, strings of compounds

optR

String, option of region "N","S","W",""

Value

Returns list of sites that have the largest amount of data for the given dates and compounds

Examples

getSites("01/01/83 00:00","12/31/86 00:00",30,102,"SO4","N")

hessakh/MESgenCov documentation built on Feb. 3, 2023, 1:09 a.m.