R/DBHydro_Insight.R
insight_fetch_daily.Rd
using the new data management platform DBHydro Insights, this function using the Districts API access to retrieve data from the database
insight_fetch_daily(
startDate,
endDate,
dbkey,
datum = NULL,
period = NULL,
reportType = "timeseries",
format = "json",
...
)
Required as a Date as.Date
or other format (i.e. as.POSIXct
)
Required as a Date as.Date
or other format (i.e. as.POSIXct
)
Required as a character, defines which data is to be accessed. Also called Timeseries ID
vertical datum of presented data (NGVD29
or NAVD88
)
Timespan of data requested (1day, 3days, 1week, 2 weeks, 30days, 365days, por)
default is timeseries
, Defines the structure of the data presentation see user manual for more
set to json for ease of data retrieval
not used, to pass argument along to other functions, in the future.