Skip to content

Commit

Permalink
Fix #72 by updating custom attributes in API
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhoey committed Aug 28, 2019
1 parent 54dc448 commit cda9533
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/get_stations.R
Expand Up @@ -59,7 +59,8 @@ get_stations <- function(variable_name = NULL, frequency = "15min",
return_fields <- c(
"custom_attributes", "station_id", "station_no",
"station_name", "stationparameter_name",
"ts_unitsymbol", "parametertype_name", "ts_id"
"ts_unitsymbol", "parametertype_name", "ts_id",
"ca_sta"
)

stations <- call_waterinfo(
Expand All @@ -74,7 +75,7 @@ get_stations <- function(variable_name = NULL, frequency = "15min",
md_returnfields = as.character(paste(return_fields,
collapse = ","
)),
custattr_returnfields =
ca_sta_returnfields =
as.character(paste(custom_attributes,
collapse = ","
))
Expand Down

0 comments on commit cda9533

Please sign in to comment.