Description Usage Arguments Value Examples
View source: R/report_miss_data.R
Creates a data frame with reported dates and number of times-step of missing or not recorded data.
1 | report_miss_data(df, Lang = "spanish")
|
df |
data frame with hydro-meteo data. First column is date and the second the numeric vector to be reported. |
Lang |
string with output column name language: 'spanish' (default) or 'english'. |
A data frame with three columns: start-date, end-date and number of missing time steps.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Create BDHI hydro-met station
guido <- create_hydroMet(class_name = 'BDHI')
# List with meteorological variables (slots in BDHI's object)
cargar <- list('precip', 'Qmd', 'Qmm')
# Now assign as names the files
hydro_files <- list.files( system.file('extdata', package = "hydroToolkit"), pattern = 'Guido' )
names(cargar) <- hydro_files
# Build the object with the met records
guido <- build_hydroMet(obj = guido, slot_list = cargar,
path = system.file('extdata', package = "hydroToolkit") )
# Get mean daily discharge and report miss data
Qmd <- get_hydroMet(obj = guido, name = 'Qmd')[[1]]
miss <- report_miss_data(df = Qmd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.