Skip to contents

climaemet (development version)

  • Performance improvements: now climaemet uses httr2::req_throttle() to manage API calls. The rate is strictly limited to AEMET API policy: No more than 40 connections per minute per API key.
  • Update docs and tests.
  • Adapt deprecations of ggplot2 >= 3.5.0.
  • Messages, warnings and errors are now more informative thanks to cli.
  • Minimal R version now is >= 4.1.0.

climaemet 1.4.2

CRAN release: 2025-06-25

climaemet 1.4.1

CRAN release: 2025-03-25

climaemet 1.4.0

CRAN release: 2024-08-28

  • New functions:
  • Increase timeout limit with httr2::req_timeout().
  • Better management of non-valid/duplicated/empty API keys.
  • New package added to ‘Suggests’: terra.

climaemet 1.3.0

CRAN release: 2024-06-23

climaemet 1.2.1

CRAN release: 2024-01-30

  • On aemet_monthly_period(extract_metadata = TRUE) honor the start and end parameters.
  • Update docs.

climaemet 1.2.0

CRAN release: 2023-08-30

  • Now it is possible to extract metadata from each API call using the parameter extract_metadata = TRUE (#40).
  • Improve the API call system to avoid API throttling.
  • aemet_stations() result is cached temporarily on tempdir(), avoiding unneeded API calls.

climaemet 1.1.1

CRAN release: 2023-05-25

  • Fix an error on the conversion to sf objects.
  • Documentation improvements.

climaemet 1.1.0

CRAN release: 2023-02-16

climaemet 1.0.2

CRAN release: 2022-08-14

  • Fix docs as per CRAN request.

climaemet 1.0.1

CRAN release: 2022-02-24

  • Add new citation.
  • Adapt some examples.
  • Remove lubridate dependency.
  • No more messages when loading the library.

climaemet 1.0.0

CRAN release: 2021-09-16

Breaking changes:

  • apikey parameter has been deprecated on all functions. Now the API key is globally managed via an environment variable: see aemet_api_key().

Major changes

  • Results are provided in tibble format.
  • Results are parsed to the correct formats (numbers and dates when possible).
  • Spatial support: New option return_sf returns sf objects instead of tibble objects. sf (>= 0.9) required, listed in ‘Suggests’ so it is not strictly required.
  • API functions gain new parameters, such as verbose, to check results.

Enhancements

Internal changes

  • Code optimization.
  • Dependencies have been reviewed.
  • Now palettes are generated with base::hcl.colors() (base R).

climaemet 0.2.0

CRAN release: 2020-07-17

climaemet 0.1.0

CRAN release: 2020-07-07

  • First release July 2020.