raindance | R Documentation |
This function summarizes precipitation data from Onset event loggers used in Onset tipping bucket precipitation gauges.
raindance(my_data)
my_data |
A data frame with from
|
This function summarizes precipitation data from Onset event loggers
used in Onset tipping bucket precipitation gauges. It uses the data_raw
data frame produced from import_hobo_2008
or
import_hobo
and returns a data frame of hourly
precipitation totals, number of tips per hour, and maximum tips per
minute.
This function returns a tibble
.
The date and hour of the data. Hours are the from 0 min 00 sec to 59 min 59 sec. For example 2009-04-15 00:00:00 is from 00:00:00 to 00:59:59 on April 15, 2009.
The unique ID number for the long-term monitoring plot.
The recorded total precipitation for that hour in millimeters.
The number of tips recorded for that hour.
The maximum tips per minute recorded. This is intended to calculate intensity of precipitation event.
import_hobo_2008
, import_hobo
## Not run: library("raindancer") # Generate list of files file_list <- list.files(path = system.file("extdata", package = "raindancer"), pattern = ".csv", full.names = TRUE, recursive = FALSE) # Read data into R my_prcp <- import_hobo_2008(file_list[3])$data_raw # Process precipitation data raindance(my_prcp) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.