aemet_extremes_clim: Extreme values for a station

View source: R/aemet_extremes.R

aemet_extremes_climR Documentation

Extreme values for a station

Description

Get recorded extreme values for a station.

Usage

aemet_extremes_clim(
  station = NULL,
  parameter = "T",
  verbose = FALSE,
  return_sf = FALSE
)

Arguments

station

Character string with station identifier code(s) (see aemet_stations())

parameter

Character string as temperature ("T"), precipitation ("P") or wind ("V") parameter.

verbose

Logical TRUE/FALSE. Provides information about the flow of information between the client and server.

return_sf

Logical TRUE or FALSE. Should the function return an sf spatial object? If FALSE (the default value) it returns a tibble. Note that you need to have the sf package installed.

Value

A tibble or a sf object

API Key

You need to set your API Key globally using aemet_api_key().

See Also

aemet_api_key()

Other aemet_api_data: aemet_daily_clim(), aemet_last_obs(), aemet_monthly, aemet_normal, aemet_stations()

Examples


library(tibble)
obs <- aemet_extremes_clim(c("9434", "3195"))
glimpse(obs)


climaemet documentation built on March 18, 2022, 7:01 p.m.