precip_split | R Documentation |
Internal function for splitting precipitation field provided by Ogimet and converting string to numerical value
precip_split(precip, pattern = "/12")
precip |
vector of characters with precipitation field from Ogimet |
pattern |
6h-12h-24h precipitation pattern to obtain written as: "/6h", "/12h" , "/24h" (see examples) |
df = climate:::ogimet_hourly(station = 12330) climate:::precip_split(df$Precmm, pattern = "/12") # to get 12h precipitation amounts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.