Skip to content

v0.7.1 #218

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

Merged
merged 3 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyhydat
Title: Extract and Tidy Canadian 'Hydrometric' Data
Version: 0.7.0.9999
Version: 0.7.1
Authors@R: c(person("Sam", "Albers", email = "sam.albers@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-9270-7884")),
person("David", "Hutchinson", email = "david.hutchinson@canada.ca", role = "ctb"),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# tidyhydat 0.7.0.9999
# tidyhydat 0.7.1
- add columns added by a webservice update (#213)
- fix some partial matching in `realtime_add_local_datetime` internals
- re-format all code with the lovely air tool
Expand Down
5 changes: 4 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,8 @@ globalVariables(unique(c(
"Name_En",
"Name_Fr",
"param_id",
"Unit"
"Unit",
"ID",
"Qualifier",
"Qualifiers"
)))
1 change: 0 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ knitr::opts_chunk$set(

[![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)
[![](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)
[![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)
<!-- badges: end -->


Expand Down
68 changes: 36 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ checks](https://badges.cranchecks.info/worst/tidyhydat.svg)](https://cran.r-proj
[![](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)
[![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)
<!-- badges: end -->

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

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

Or we can use `realtime_ws`:

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

## Compare realtime\_ws and realtime\_dd

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

To cite package 'tidyhydat' in publications use:

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>,
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>,
<http://dx.doi.org/10.21105/joss.00511>.

A BibTeX entry for LaTeX users is
Expand Down
29 changes: 29 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
tidyhydat 0.7.1
=========================

There were zero WARNINGS and zero ERRORS.

## NEWS
- add columns added by a webservice update (#213)
- fix some partial matching in `realtime_add_local_datetime` internals
- re-format all code with the lovely air tool

## Test environments
* win-builder (via `devtools::check_win_devel()` and `devtools::check_win_release()`)
* local macOS, R 4.3.1 (via R CMD check --as-cran)
* ubuntu-20.04, r: 'release' (github actions)
* ubuntu-20.04, r: 'devel' (github actions)
* macOS, r: 'release' (github actions)
* windows, r: 'release' (github actions)
* ubuntu-devel, r: 'release' (rhub)
* linux, r: 'devel' (rhub)
* macos-arm64, r: 'devel' (rhub)
* windows, r: 'devel' (rhub)

## revdepcheck results

We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

tidyhydat 0.7.0
=========================

Expand Down
Loading
Loading