Skip to content

Commit ab0dd61

Browse files
authored
v0.7.1 (#218)
* update * add fig * fix binding
1 parent 3e1ed52 commit ab0dd61

16 files changed

+468
-391
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: tidyhydat
22
Title: Extract and Tidy Canadian 'Hydrometric' Data
3-
Version: 0.7.0.9999
3+
Version: 0.7.1
44
Authors@R: c(person("Sam", "Albers", email = "[email protected]", role = c("aut", "cre"),
55
comment = c(ORCID = "0000-0002-9270-7884")),
66
person("David", "Hutchinson", email = "[email protected]", role = "ctb"),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# tidyhydat 0.7.0.9999
1+
# tidyhydat 0.7.1
22
- add columns added by a webservice update (#213)
33
- fix some partial matching in `realtime_add_local_datetime` internals
44
- re-format all code with the lovely air tool

R/zzz.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,8 @@ globalVariables(unique(c(
293293
"Name_En",
294294
"Name_Fr",
295295
"param_id",
296-
"Unit"
296+
"Unit",
297+
"ID",
298+
"Qualifier",
299+
"Qualifiers"
297300
)))

README.Rmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ knitr::opts_chunk$set(
2222

2323
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/tidyhydat)](https://cran.r-project.org/package=tidyhydat) [![CRAN Downloads](https://cranlogs.r-pkg.org/badges/tidyhydat?color=brightgreen)](https://CRAN.R-project.org/package=tidyhydat) [![cran checks](https://badges.cranchecks.info/worst/tidyhydat.svg)](https://cran.r-project.org/web/checks/check_results_tidyhydat.html) [![r-universe](https://ropensci.r-universe.dev/badges/tidyhydat)](https://ropensci.r-universe.dev/builds)
2424
[![](http://badges.ropensci.org/152_status.svg)](https://github.com/ropensci/software-review/issues/152) [![DOI](http://joss.theoj.org/papers/10.21105/joss.00511/status.svg)](https://doi.org/10.21105/joss.00511) [![DOI](https://zenodo.org/badge/100978874.svg)](https://zenodo.org/badge/latestdoi/100978874)
25-
[![R-CMD-check](https://github.com/ropensci/tidyhydat/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/tidyhydat/actions/workflows/R-CMD-check.yaml)
2625
<!-- badges: end -->
2726

2827

README.md

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ checks](https://badges.cranchecks.info/worst/tidyhydat.svg)](https://cran.r-proj
1717
[![](http://badges.ropensci.org/152_status.svg)](https://github.com/ropensci/software-review/issues/152)
1818
[![DOI](http://joss.theoj.org/papers/10.21105/joss.00511/status.svg)](https://doi.org/10.21105/joss.00511)
1919
[![DOI](https://zenodo.org/badge/100978874.svg)](https://zenodo.org/badge/latestdoi/100978874)
20-
[![R-CMD-check](https://github.com/ropensci/tidyhydat/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/tidyhydat/actions/workflows/R-CMD-check.yaml)
2120
<!-- badges: end -->
2221

2322
## What does `tidyhydat` do?
@@ -84,22 +83,23 @@ the same conventions discussed above. Using `realtime_dd()` we can
8483
easily select specific stations by supplying a station of interest:
8584

8685
realtime_dd(station_number = "08MF005")
87-
#> Queried on: 2024-10-04 21:22:54.830085 (UTC)
88-
#> Date range: 2024-09-04 to 2024-10-04
89-
#> # A tibble: 17,574 × 8
90-
#> STATION_NUMBER PROV_TERR_STATE_LOC Date Parameter Value Grade Symbol Code
91-
#> <chr> <chr> <dttm> <chr> <dbl> <chr> <chr> <chr>
92-
#> 1 08MF005 BC 2024-09-04 08:00:00 Flow 1830 <NA> <NA> 1
93-
#> 2 08MF005 BC 2024-09-04 08:05:00 Flow 1830 <NA> <NA> 1
94-
#> 3 08MF005 BC 2024-09-04 08:10:00 Flow 1830 <NA> <NA> 1
95-
#> 4 08MF005 BC 2024-09-04 08:15:00 Flow 1840 <NA> <NA> 1
96-
#> 5 08MF005 BC 2024-09-04 08:20:00 Flow 1840 <NA> <NA> 1
97-
#> 6 08MF005 BC 2024-09-04 08:25:00 Flow 1830 <NA> <NA> 1
98-
#> 7 08MF005 BC 2024-09-04 08:30:00 Flow 1830 <NA> <NA> 1
99-
#> 8 08MF005 BC 2024-09-04 08:35:00 Flow 1830 <NA> <NA> 1
100-
#> 9 08MF005 BC 2024-09-04 08:40:00 Flow 1830 <NA> <NA> 1
101-
#> 10 08MF005 BC 2024-09-04 08:45:00 Flow 1830 <NA> <NA> 1
102-
#> # ℹ 17,564 more rows
86+
#> Queried on: 2025-03-11 19:53:39.321743 (UTC)
87+
#> Date range: 2025-02-09 to 2025-03-11
88+
#> # A tibble: 17,520 × 8
89+
#> STATION_NUMBER PROV_TERR_STATE_LOC Date Parameter Value Grade
90+
#> <chr> <chr> <dttm> <chr> <dbl> <chr>
91+
#> 1 08MF005 BC 2025-02-09 08:00:00 Flow 612 <NA>
92+
#> 2 08MF005 BC 2025-02-09 08:05:00 Flow 612 <NA>
93+
#> 3 08MF005 BC 2025-02-09 08:10:00 Flow 613 <NA>
94+
#> 4 08MF005 BC 2025-02-09 08:15:00 Flow 611 <NA>
95+
#> 5 08MF005 BC 2025-02-09 08:20:00 Flow 611 <NA>
96+
#> 6 08MF005 BC 2025-02-09 08:25:00 Flow 611 <NA>
97+
#> 7 08MF005 BC 2025-02-09 08:30:00 Flow 610 <NA>
98+
#> 8 08MF005 BC 2025-02-09 08:35:00 Flow 611 <NA>
99+
#> 9 08MF005 BC 2025-02-09 08:40:00 Flow 611 <NA>
100+
#> 10 08MF005 BC 2025-02-09 08:45:00 Flow 611 <NA>
101+
#> # ℹ 17,510 more rows
102+
#> # ℹ 2 more variables: Symbol <chr>, Code <chr>
103103

104104
Or we can use `realtime_ws`:
105105

@@ -111,20 +111,22 @@ Or we can use `realtime_ws`:
111111
)
112112
#> All station successfully retrieved
113113
#> All parameters successfully retrieved
114-
#> # A tibble: 4,632 × 10
115-
#> STATION_NUMBER Date Name_En Value Unit Grade Symbol Approval Parameter Code
116-
#> <chr> <dttm> <chr> <dbl> <chr> <chr> <chr> <chr> <dbl> <chr>
117-
#> 1 08MF005 2024-09-20 00:00:00 Water temperature 17.0 °C -1 <NA> Provisional/Provisoire 5 TW
118-
#> 2 08MF005 2024-09-20 01:00:00 Water temperature 17.0 °C -1 <NA> Provisional/Provisoire 5 TW
119-
#> 3 08MF005 2024-09-20 02:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
120-
#> 4 08MF005 2024-09-20 03:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
121-
#> 5 08MF005 2024-09-20 04:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
122-
#> 6 08MF005 2024-09-20 05:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
123-
#> 7 08MF005 2024-09-20 06:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
124-
#> 8 08MF005 2024-09-20 07:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
125-
#> 9 08MF005 2024-09-20 08:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
126-
#> 10 08MF005 2024-09-20 09:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
127-
#> # ℹ 4,622 more rows
114+
#> # A tibble: 4,602 × 12
115+
#> STATION_NUMBER Date Name_En Value Unit Grade Symbol Approval
116+
#> <chr> <dttm> <chr> <dbl> <chr> <lgl> <chr> <chr>
117+
#> 1 08MF005 2025-02-25 00:00:00 Water t… 4.46 °C NA <NA> Provisi…
118+
#> 2 08MF005 2025-02-25 01:00:00 Water t… 4.48 °C NA <NA> Provisi…
119+
#> 3 08MF005 2025-02-25 02:00:00 Water t… 4.49 °C NA <NA> Provisi…
120+
#> 4 08MF005 2025-02-25 03:00:00 Water t… 4.48 °C NA <NA> Provisi…
121+
#> 5 08MF005 2025-02-25 04:00:00 Water t… 4.5 °C NA <NA> Provisi…
122+
#> 6 08MF005 2025-02-25 05:00:00 Water t… 4.51 °C NA <NA> Provisi…
123+
#> 7 08MF005 2025-02-25 06:00:00 Water t… 4.52 °C NA <NA> Provisi…
124+
#> 8 08MF005 2025-02-25 07:00:00 Water t… 4.52 °C NA <NA> Provisi…
125+
#> 9 08MF005 2025-02-25 08:00:00 Water t… 4.55 °C NA <NA> Provisi…
126+
#> 10 08MF005 2025-02-25 09:00:00 Water t… 4.54 °C NA <NA> Provisi…
127+
#> # ℹ 4,592 more rows
128+
#> # ℹ 4 more variables: Parameter <dbl>, Code <chr>, Qualifier <chr>,
129+
#> # Qualifiers <lgl>
128130

129131
## Compare realtime\_ws and realtime\_dd
130132

@@ -189,7 +191,9 @@ Get citation information for `tidyhydat` in R by running:
189191

190192
To cite package 'tidyhydat' in publications use:
191193

192-
Albers S (2017). "tidyhydat: Extract and Tidy Canadian Hydrometric Data." _The Journal of Open Source Software_, *2*(20). doi:10.21105/joss.00511 <https://doi.org/10.21105/joss.00511>,
194+
Albers S (2017). "tidyhydat: Extract and Tidy Canadian Hydrometric
195+
Data." _The Journal of Open Source Software_, *2*(20).
196+
doi:10.21105/joss.00511 <https://doi.org/10.21105/joss.00511>,
193197
<http://dx.doi.org/10.21105/joss.00511>.
194198

195199
A BibTeX entry for LaTeX users is

cran-comments.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
tidyhydat 0.7.1
2+
=========================
3+
4+
There were zero WARNINGS and zero ERRORS.
5+
6+
## NEWS
7+
- add columns added by a webservice update (#213)
8+
- fix some partial matching in `realtime_add_local_datetime` internals
9+
- re-format all code with the lovely air tool
10+
11+
## Test environments
12+
* win-builder (via `devtools::check_win_devel()` and `devtools::check_win_release()`)
13+
* local macOS, R 4.3.1 (via R CMD check --as-cran)
14+
* ubuntu-20.04, r: 'release' (github actions)
15+
* ubuntu-20.04, r: 'devel' (github actions)
16+
* macOS, r: 'release' (github actions)
17+
* windows, r: 'release' (github actions)
18+
* ubuntu-devel, r: 'release' (rhub)
19+
* linux, r: 'devel' (rhub)
20+
* macos-arm64, r: 'devel' (rhub)
21+
* windows, r: 'devel' (rhub)
22+
23+
## revdepcheck results
24+
25+
We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
26+
27+
* We saw 0 new problems
28+
* We failed to check 0 packages
29+
130
tidyhydat 0.7.0
231
=========================
332

0 commit comments

Comments
 (0)