Skip to content

climaemet 1.0.0

Compare
Choose a tag to compare
@dieghernan dieghernan released this 16 Sep 13:18

Breaking changes:

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

Major changes

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

Enhancements

  • aemet_last_obs() now is vectorized and it can also retrieve all the stations at a glance with station = "all"
  • aemet_last_obs() now is vectorized and it can also retrieve all the stations at a glance with station = "all"
  • aemet_daily_clim() now is vectorized and it can also retrieve all the stations at a glance with station = "all"
  • New function get_metadata_aemet().
  • New function ggclimat_walter_lieth(). This function is now the default for climatogram_* functions (experimental). Old behavior can be reproduced with options ggplot2 = FALSE.
  • Plot functions gains new parameters (verbose and ...). Now it is possible to pass colors to the plotting functions.
  • New example datasets: climaemet_9434_climatogram, climaemet_9434_temp, climaemet_9434_wind.

Internal changes

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

What's Changed

Full Changelog: v0.2.0...v1.0.0