Skip to content

Commit

Permalink
fixes meters test
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinamullin committed Nov 30, 2022
1 parent 526013a commit 4cd01f2
Show file tree
Hide file tree
Showing 18 changed files with 315 additions and 135 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ Imports:
stats,
gganimate,
lubridate,
maps,
readr
maps
Depends:
R (>= 3.5.0)
Suggests:
readr,
gifski,
rlang,
remotes,
Expand Down
2 changes: 1 addition & 1 deletion docs/articles/CONTRIBUTING.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

308 changes: 188 additions & 120 deletions docs/articles/WQPDataHarmonization.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
CONTRIBUTING: CONTRIBUTING.html
WQPDataHarmonization: WQPDataHarmonization.html
last_built: 2022-11-09T02:17Z
last_built: 2022-11-30T15:52Z
urls:
reference: usepa.github.io/tada/reference
article: usepa.github.io/tada/articles
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/CreateAnimatedMap.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 98 additions & 0 deletions docs/reference/SummarizeCharacteristics.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions docs/reference/TADABigdataRetrieval.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions docs/reference/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@
<url>
<loc>usepa.github.io/tada/reference/ConvertResultUnits.html</loc>
</url>
<url>
<loc>usepa.github.io/tada/reference/CreateAnimatedMap.html</loc>
</url>
<url>
<loc>usepa.github.io/tada/reference/decimalnumcount.html</loc>
</url>
Expand Down Expand Up @@ -90,6 +93,9 @@
<url>
<loc>usepa.github.io/tada/reference/GenerateCensoredDataStats.html</loc>
</url>
<url>
<loc>usepa.github.io/tada/reference/GenerateMap.html</loc>
</url>
<url>
<loc>usepa.github.io/tada/reference/GetMeasureUnitRef.html</loc>
</url>
Expand Down Expand Up @@ -144,6 +150,9 @@
<url>
<loc>usepa.github.io/tada/reference/RemoveEmptyColumns.html</loc>
</url>
<url>
<loc>usepa.github.io/tada/reference/SummarizeCharacteristics.html</loc>
</url>
<url>
<loc>usepa.github.io/tada/reference/TADABigdataRetrieval.html</loc>
</url>
Expand Down
3 changes: 1 addition & 2 deletions tests/testthat/test-DataDiscoveryRetrieval.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,5 @@ test_that("TADAdataRetrieval", {
check_autoclean_meters_works <- TADAdataRetrieval(statecode = "UT",
characteristicName = c("Ammonia", "Nitrate", "Nitrogen"),
startDate = "01-01-2021")
expect_equal(check_autoclean_meters_works$ActivityDepthHeightMeasure.MeasureUnitCode[975], "m"
)
expect_equal(unique(check_autoclean_meters_works$ActivityDepthHeightMeasure.MeasureUnitCode), c("NA", 'm'))
})
7 changes: 5 additions & 2 deletions vignettes/WQPDataHarmonization.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "WQP Data Harmonization"
author: "Cristina A. Mullin"
author: "Cristina A. Mullin, TADA Team"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
Expand Down Expand Up @@ -244,7 +244,10 @@ See ?TADABigdataRetrieval for more details. WARNING, this can take
multiple HOURS to run. The total run time depends on your query inputs.

```{r}
# AllWaterTempData <- TADABigdataRetrieval(startDate = "2019-01-01", endDate = "2021-12-31", characteristicName = "Temperature, water", siteType = "Stream")
# AllWaterTempData <- TADABigdataRetrieval(startDate = "2019-01-01",
# endDate = "2021-12-31",
# characteristicName = "Temperature, water",
# siteType = "Stream")
```

Review all column names in the TADA Profile
Expand Down

0 comments on commit 4cd01f2

Please sign in to comment.