powered by
Retrieve Chilean gauge data
chile( site, variable = "discharge", start_date = NULL, end_date = NULL, sites = FALSE, ... )
data frame of discharge time-series
Chilean gauge number
Character. Either stage or discharge.
stage
discharge
Character. Optional start date with format YYYY-MM-DD. Default is 1900-01-01.
Character. End date with format YYYY-MM-DD. Default is the current date.
Logical. If TRUE, returns a list of measurement sites.
Additional arguments. None implemented.
if (FALSE) { df <- chile('01201005') plot(df$Date, df$Q, type='l') }
Run the code above in your browser using DataLab