scworland / restore-2018

scripts for predicting streamflow characteristics in ungaged basins for RESTORE
4 stars 2 forks source link

Active and Discontinued #11

Closed ghost closed 6 years ago

ghost commented 6 years ago

The "sitefile": I have code to pull the sitefile from NWIS, convert to a spatialPointsDataFrame, removed groundwater related columns, and append the following:

ExtraSiteFileStuff[ExtraSiteFileStuff$site_no == "02479980",] site_no count_dvs approx_por_pct begin_cal_year end_cal_year active 560 02479980 9245 97 1990 2016 TRUE

This is related to network analysis at some point. I have determined an Active/Discontinued logical. First, I permit provisional data to be kept. Then if the last year is 2016 (calendar), the site is active.