Closed tbuehrens closed 5 months ago
@tbuehrens ,
I think you'll find a very similar function already in the STADEM package. Check out the queryPITtagObs
function. However, I think your suggestion could potentially improve that function, which currently only works for Lower Granite, by expanding it to more sites. I'll add an issue to the STADEM repo to investigate.
Hey @KevinSee,
I was playing around with this package yesterday to see how much I could use for a Wind R. project. I noticed your function queryObsDART only works on priest rapids or lower granite. I whipped up the following function that uses a different DART url (not the custom nez perce one you guys use). Anyway this function also has the ability to supply a list of species and years and will loop through them; no loop for run and rear since options for those in the dart API include "all" (via Null). Anyway let me know if you want me to submit a pull request. I did shamelessly poach the spp_code lookup approach ya'll used (see below).