Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetchSCAN: return all above-ground sensors #359

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

brownag
Copy link
Member

@brownag brownag commented Sep 18, 2024

Closes #14

Before:

library(soilDB)

fetchSCAN(site.code = 482, year = 2014)$WTEQ$sensor.id |> 
  unique()
#> multiple sensors per site [site 482] PREC.I,PREC.I-2
#> multiple sensors per site [site 482] WTEQ.I,WTEQ.I-2
#> 2921 records (0.19 Mb transferred)
#> [1] WTEQ.I
#> Levels: WTEQ.I

After:

library(soilDB)

fetchSCAN(site.code = 482, year = 2014)$WTEQ$sensor.id |> 
  unique()
#> multiple sensors per site [site 482] PREC.I,PREC.I-2
#> multiple sensors per site [site 482] WTEQ.I,WTEQ.I-2
#> 3652 records (0.2 Mb transferred)
#> [1] WTEQ.I   WTEQ.I-2
#> Levels: WTEQ.I WTEQ.I-2

@dylanbeaudette
Copy link
Member

Yeah, this looks good. Thanks!

@brownag brownag merged commit 902f911 into master Sep 19, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

multiple sensors -- fetchSCAN
2 participants