Package: tidyhydat
Title: Extract and Tidy Canadian Hydrometric Data
Version: 0.2.9
Authors@R: c(person("Sam", "Albers", email = "sam.albers@gov.bc.ca", role = c("aut", "cre"),
), person("David", "Hutchinson", email = "david.hutchinson@canada.ca", role = "ctb"),
person("Province of British Columbia", role = "cph"))
Description: tidyhydat provides functions to extract historical and real-time national hydrometric
data from Water Survey of Canada data sources (http://dd.weather.gc.ca/hydrometric/csv/ and
http://collaboration.cmc.ec.gc.ca/cmc/hydrometrics/www/) and then apply tidy data principles.
Depends: R (>= 3.4.0)
License: Apache License (== 2.0) | file LICENSE
URL: https://github.com/bcgov/tidyhydat
BugReports: https://github.com/bcgov/tidyhydat/issues
Encoding: UTF-8
Imports:
dplyr (>= 0.7.3),
readr (>= 1.1.1),
lubridate (>= 1.6.0),
tidyr (>= 0.7.1),
DBI (>= 0.7),
RSQLite (>= 2.0),
tibble (>= 1.3.4),
httr (>= 1.3.1)
Suggests:
tidyverse,
dbplyr,
knitr,
rmarkdown,
testthat
LazyData: true
RoxygenNote: 6.0.1
VignetteBuilder: knitr
Confirm each of the following by checking the box. This package:
Summary
What does this package do? (explain in 50 words or less):
tidyhydatprovides functions to extract historical and real-time national hydrometric data from Water Survey of Canada data sourcesPaste the full DESCRIPTION file inside a code block below:
URL for the package (the development repository, not a stylized html page): https://github.com/bcgov/tidyhydat
Please indicate which category or categories from our package fit policies this package falls under *and why:
tidyhydatretrieves data from the Water Survey of Canada datamart via thedownload_realtime_dd()function from http://dd.weather.gc.ca/hydrometric/csv/.download_realtime_wsprovides access via thehttrpackage to a new password protected web service provided by Environment and Climate Change Canada (ECCC). Differences between the download realtime functions are outlined heretidyhydat's exported functions provide easy access to ECCC's publicly available and open-licenced HYDAT sqlite3 database (http://collaboration.cmc.ec.gc.ca/cmc/hydrometrics/www/) of historical river and lake levels in Canada. HYDAT is updated quarterly and is distributed via the Canadian Open Government Licence. HYDAT is not included with this package because it is regularly updated and because the file size is prohibitively large (>1GB) for inclusion in an R package. Rathertidyhydatprovides thedownload_hydat()function that downloads it for the user.Who is the target audience?
Are there other R packages that accomplish the same thing? If so, how does
yours differ or meet our criteria for best-in-category?
tidyhydat.tidyhydatdocumentation is more comprehensive than both packages.tidyhydatprovides added functionality not present in both packages. NeitherHYDATnorhydatrprovide any functionality to access the web service andhydatrdoes not access any real-time datamart data.tidyhydatis to provide data in a tidy format. This conceptual data science goal provides a clear objective that is missing from both other packages.Requirements
Confirm each of the following by checking the box. This package:
Publication options
paper.mdmatching JOSS's requirements with a high-level description in the package root or ininst/.Detail
Does
R CMD check(ordevtools::check()) succeed? Paste and describe any errors or warnings:Does the package conform to rOpenSci packaging guidelines? Please describe any exceptions:
If this is a resubmission following rejection, please explain the change in circumstances:
If possible, please provide recommendations of reviewers - those with experience with similar packages and/or likely users of your package - and their GitHub user names:
Taken from the list reviewers as folks that might be appropriate: