Retrieve Senamhi's weather alert details using the warning number
Source:R/get_senamhi.R
senamhi_alert_by_number.Rd
This function obtains a table with the specified weather warning number. For more information, please visit the following link: https://www.Senamhi.gob.pe/?&p=aviso-meteorologico
Examples
# \donttest{
library(geoidep)
data <- senamhi_alert_by_number(295)
#> Reading data from the website...
#> Data successfully uploaded.
head(data)
#> # A tibble: 2 × 7
#> aviso nro emision inicio fin duracion nivel
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 PRECIPITACIONES EN LA SIERRA 295 2024-1… 2024-… 2024… 47 Hrs. NARA…
#> 2 PRECIPITACIONES EN LA COSTA NORTE Y… 295 2023-1… 2023-… 2023… 47 Hrs. ROJO
# }