Skip to content

Commit 6bef047

Browse files
committed
Fixes DOI-USGS#840
1 parent 83025c6 commit 6bef047

File tree

2 files changed

+42
-12
lines changed

2 files changed

+42
-12
lines changed

R/read_waterdata_ts_meta.R

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@
1111
#' @param computation_period_identifier `r get_params("time-series-metadata")$computation_period_identifier`
1212
#' @param sublocation_identifier `r get_params("time-series-metadata")$sublocation_identifier`
1313
#' @param last_modified `r get_params("time-series-metadata")$last_modified`
14-
#' @param begin `r get_params("time-series-metadata")$begin`
15-
#' @param end `r get_params("time-series-metadata")$end`
14+
#' @param begin_utc `r get_params("time-series-metadata")$begin_utc`
15+
#' @param end_utc `r get_params("time-series-metadata")$end_utc`
1616
#' @param hydrologic_unit_code `r get_params("time-series-metadata")$hydrologic_unit_code`
1717
#' @param state_name `r get_params("time-series-metadata")$state_name`
1818
#' @param thresholds `r get_params("time-series-metadata")$thresholds`
1919
#' @param unit_of_measure `r get_params("time-series-metadata")$unit_of_measure`
2020
#' @param primary `r get_params("time-series-metadata")$primary`
2121
#' @param parent_time_series_id `r get_params("time-series-metadata")$parent_time_series_id`
2222
#' @param web_description `r get_params("time-series-metadata")$web_description`
23+
#' @param begin `r get_params("time-series-metadata")$begin`
24+
#' @param end `r get_params("time-series-metadata")$end`
2325
#' @param properties A vector of requested columns to be returned from the query.
2426
#' Available options are:
2527
#' `r dataRetrieval:::get_properties_for_docs("time-series-metadata", "time_series_id")`.
@@ -58,8 +60,8 @@
5860
#' parameter_code = c("00060", "00010"),
5961
#' properties = c("monitoring_location_id",
6062
#' "parameter_code",
61-
#' "begin",
62-
#' "end",
63+
#' "begin_utc",
64+
#' "end_utc",
6365
#' "time_series_id"),
6466
#' skipGeometry = TRUE)
6567
#'
@@ -71,8 +73,8 @@ read_waterdata_ts_meta <- function(monitoring_location_id = NA_character_,
7173
properties = NA_character_,
7274
statistic_id = NA_character_,
7375
last_modified = NA_character_,
74-
begin = NA_character_,
75-
end = NA_character_,
76+
begin_utc = NA_character_,
77+
end_utc = NA_character_,
7678
hydrologic_unit_code = NA_character_,
7779
state_name = NA_character_,
7880
unit_of_measure = NA_character_,
@@ -88,6 +90,8 @@ read_waterdata_ts_meta <- function(monitoring_location_id = NA_character_,
8890
limit = NA,
8991
max_results = NA,
9092
bbox = NA,
93+
begin = NA_character_,
94+
end = NA_character_,
9195
convertType = TRUE,
9296
no_paging = FALSE){
9397

man/read_waterdata_ts_meta.Rd

Lines changed: 32 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)