A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

climaemet

An interface to download the climatic data of the Spanish Meteorological Agency directly from R using their API and create scientific graphs.
https://github.com/ropenspain/climaemet

Category: Climate Change
Sub Category: Climate Data Access and Visualization

Keywords

aemet climate cran data forecast-api r r-package ropenspain rstats science spain weather-api

Keywords from Contributors

transformer simulator productivity measur reporting projects route controller compose optimize

Last synced: about 12 hours ago
JSON representation

Repository metadata

R Climate AEMET Tools

README.Rmd

          ---
output: github_document
---



```{r knitr, include=FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  message = FALSE,
  warning = FALSE,
  dev = "ragg_png",
  tidy = "styler",
  comment = "#>",
  dpi = 300,
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# climaemet 



[![rOS-badge](https://ropenspain.github.io/rostemplate/reference/figures/ropenspain-badge.svg)](https://ropenspain.es/)
[![CRAN
status](https://www.r-pkg.org/badges/version/climaemet)](https://CRAN.R-project.org/package=climaemet)
[![CRAN_time_from_release](https://www.r-pkg.org/badges/ago/climaemet)](https://cran.r-project.org/package=climaemet)
[![CRAN_latest_release_date](https://www.r-pkg.org/badges/last-release/climaemet)](https://cran.r-project.org/package=climaemet)
[![CRAN
results](https://badges.cranchecks.info/worst/climaemet.svg)](https://cran.r-project.org/web/checks/check_results_climaemet.html)
[![r-universe](https://ropenspain.r-universe.dev/badges/climaemet)](https://ropenspain.r-universe.dev/climaemet)
[![R-CMD-check](https://github.com/rOpenSpain/climaemet/actions/workflows/roscron-check-full.yaml/badge.svg)](https://github.com/rOpenSpain/climaemet/actions/workflows/roscron-check-full.yaml)
[![R-hub](https://github.com/rOpenSpain/climaemet/actions/workflows/rhub.yaml/badge.svg)](https://github.com/rOpenSpain/climaemet/actions/workflows/rhub.yaml)
[![codecov](https://codecov.io/gh/rOpenSpain/climaemet/graph/badge.svg?token=ZD3FL138Z4)](https://app.codecov.io/gh/rOpenSpain/climaemet)
[![DOI](https://img.shields.io/badge/DOI-10.32614/CRAN.package.climaemet-blue)](https://doi.org/10.32614/CRAN.package.climaemet)
[![metacran
downloads](https://cranlogs.r-pkg.org/badges/climaemet)](https://cran.r-project.org/package=climaemet)
![GitHub
License](https://img.shields.io/github/license/ropenspain/climaemet?color=blue)
[![Project Status: Active -- The project has reached a stable, usable state and
is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)



The goal of **climaemet** is to serve as an interface to download the climatic
data of the Spanish Meteorological Agency (AEMET) directly from R using their
[API](https://opendata.aemet.es/) and create scientific graphs (climate charts,
trend analysis of climate time series, temperature and precipitation anomalies
maps, "warming stripes" graphics, climatograms, etc.).

Browse manual and vignettes at .

## AEMET Open Data

AEMET OpenData is a REST API developed by AEMET that allows the dissemination
and reuse of the Agency's meteorological and climatological information. To see
more details visit: 

## License for the original data

Information prepared by the Spanish Meteorological Agency (© AEMET). You can
read about it [here](https://www.aemet.es/en/nota_legal).

A summary for the usage of the data could be interpreted as:

> People can use freely this data. You should mention AEMET as the collector of
> the original data in every situation except if you are using this data
> privately and individually. AEMET makes no warranty as to the accuracy or
> completeness of the data. All data are provided on an "as is" basis. AEMET is
> not responsible for any damage or loss derived from the interpretation or use
> of this data.

## Installation

You can install the released version of **climaemet** from
[CRAN](https://CRAN.R-project.org) with:

```{r, eval=FALSE}
install.packages("climaemet")
```

You can install the developing version of **climaemet** using the
[r-universe](https://ropenspain.r-universe.dev/climaemet):

```{r, eval=FALSE}
# Install climaemet in R:
install.packages("climaemet",
  repos = c("https://ropenspain.r-universe.dev", "https://cloud.r-project.org")
)
```

Alternatively, you can install the developing version of **climaemet** with:

```{r, eval=FALSE}
# install.packages("pak")
pak::pak("ropenspain/climaemet")
```

## API key

To be able to download data from AEMET you will need a free API key which you
can get [here](https://opendata.aemet.es/centrodedescargas/obtencionAPIKey).

```{r, eval=FALSE}
library(climaemet)

## Get api key from AEMET
browseURL("https://opendata.aemet.es/centrodedescargas/obtencionAPIKey")

## Use this function to register your API Key temporarly or permanently
aemet_api_key("MY API KEY")
```

## Changes on v1.0.0!

Now the `apikey` parameter on the functions have been deprecated. You may need
to set your API Key globally using `aemet_api_key()`. Note that you would need
also to remove the `apikey` parameter on your old codes.

### Now **climaemet** is tidy...

From `v1.0.0` onward, **climaemet** provides its results in [`tibble`
format](https://tibble.tidyverse.org/). Also, the functions try to guess the
correct format of the fields (i.e. something as a Date/Hour now is an hour,
numbers are parsed as double, etc.).

```{r tibble, message=TRUE}
library(climaemet)

# See a tibble in action

aemet_last_obs("9434")
```

### ... and spatial!

Another major change in `v1.0.0` is the ability of return information on spatial
`sf` format, using `return_sf = TRUE`. The coordinate reference system (CRS)
used is **EPSG 4326**, that correspond to the **World Geodetic System (WGS)**
and return coordinates in latitude/longitude (unprojected coordinates):

```{r spatial}
# You would need to install `sf` if not installed yet
# run install.packages("sf") for installation

library(ggplot2)
library(dplyr)

all_stations <- aemet_daily_clim(
  start = "2021-01-08", end = "2021-01-08",
  return_sf = TRUE
)


ggplot(all_stations) +
  geom_sf(aes(colour = tmed), shape = 19, size = 2, alpha = 0.95) +
  labs(
    title = "Average temperature in Spain",
    subtitle = "8 Jan 2021",
    color = "Max temp.\n(celsius)",
    caption = "Source: AEMET"
  ) +
  scale_colour_gradientn(
    colours = hcl.colors(10, "RdBu", rev = TRUE),
    breaks = c(-10, -5, 0, 5, 10, 15, 20),
    guide = "legend"
  ) +
  theme_bw() +
  theme(
    panel.border = element_blank(),
    plot.title = element_text(face = "bold"),
    plot.subtitle = element_text(face = "italic")
  )
```

## Plots

We can also draw a "warming stripes" graph with the downloaded data from a
weather station. These functions returns **ggplot2** plots:

```{r climatestripes, fig.asp=0.7, eval=TRUE}
# Plot a climate stripes graph for a period of years for a station

library(ggplot2)

# Example data
temp_data <- climaemet::climaemet_9434_temp

ggstripes(temp_data, plot_title = "Zaragoza Airport") +
  labs(subtitle = "(1950-2020)")
```

Furthermore, we can draw the well-known Walter & Lieth climatic diagram for a
weather station and over a specified period of time:

```{r climatogram, fig.asp=0.7, eval=TRUE}
# Plot of a Walter & Lieth climatic diagram for a station

# Example data
wl_data <- climaemet::climaemet_9434_climatogram

ggclimat_walter_lieth(wl_data,
  alt = "249", per = "1981-2010",
  est = "Zaragoza Airport"
)
```

Additionally, we may be interested in drawing the wind speed and direction over
a period of time for the data downloaded from a weather station.:

```{r windrose, fig.asp=0.7, eval=TRUE}
# Plot a windrose showing the wind speed and direction for a station

# Example data
wind_data <- climaemet::climaemet_9434_wind

speed <- wind_data$velmedia
direction <- wind_data$dir

ggwindrose(
  speed = speed, direction = direction,
  speed_cuts = seq(0, 16, 4), legend_title = "Wind speed (m/s)",
  calm_wind = 0, n_col = 1, plot_title = "Zaragoza Airport"
) +
  labs(subtitle = "2000-2020", caption = "Source: AEMET")
```

## Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By
participating in this project you agree to abide by its terms.

## Citation

Using **climaemet** for a paper you are writing?. Consider citing it:

```{r echo=FALSE, results='asis'}
print(citation("climaemet")[1], style = "html")
```

A BibTeX entry for LaTeX users is:

```{r echo=FALSE, comment=''}
toBibtex(citation("climaemet")[1])
```

## Links

-   Download from CRAN at 
-   Browse source code at 

## Contributors






All contributions to this project are gratefully acknowledged using the [`allcontributors` package](https://github.com/ropensci/allcontributors) following the [allcontributors](https://allcontributors.org) specification. Contributions of any kind are welcome!

### Code


dieghernan

mpizarrotig

gemafaviles
### Issue Authors

dominicroye

indycool79

jesbrz
### Issue Contributors

llrs

verajosemanuel

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "climaemet" in publications use:'
type: software
license: GPL-3.0-only
title: 'climaemet: Climate AEMET Tools'
version: 1.4.1
doi: 10.32614/CRAN.package.climaemet
identifiers:
- type: doi
  value: 10.32614/CRAN.package.climaemet
abstract: Tools to download the climatic data of the Spanish Meteorological Agency
  (AEMET) directly from R using their API and create scientific graphs (climate charts,
  trend analysis of climate time series, temperature and precipitation anomalies maps,
  warming stripes graphics, climatograms, etc.).
authors:
- family-names: Pizarro
  given-names: Manuel
  orcid: https://orcid.org/0000-0002-6981-0154
- family-names: Hernangómez
  given-names: Diego
  email: [email protected]
  orcid: https://orcid.org/0000-0001-8457-4658
- family-names: Fernández-Avilés
  given-names: Gema
  orcid: https://orcid.org/0000-0001-5934-1916
preferred-citation:
  type: manual
  title: 'climaemet: Climate AEMET Tools'
  authors:
  - family-names: Pizarro
    given-names: Manuel
    orcid: https://orcid.org/0000-0002-6981-0154
  - family-names: Hernangómez
    given-names: Diego
    email: [email protected]
    orcid: https://orcid.org/0000-0001-8457-4658
  - family-names: Fernández-Avilés
    given-names: Gema
    orcid: https://orcid.org/0000-0001-5934-1916
  abstract: The goal of climaemet is to serve as an interface to download the climatic
    data of the Spanish Meteorological Agency (AEMET) directly from R using their
    API (https://opendata.aemet.es/) and create scientific graphs (climate charts,
    trend analysis of climate time series, temperature and precipitation anomalies
    maps, “warming stripes” graphics, climatograms, etc.).
  year: '2021'
  month: '8'
  url: https://hdl.handle.net/10261/250390
  doi: 10.32614/CRAN.package.climaemet
  keywords:
  - Climate
  - Rcran
  - Tools
  - Graphics
  - Interpolation
  - Maps
repository: https://CRAN.R-project.org/package=climaemet
repository-code: https://github.com/rOpenSpain/climaemet
url: https://ropenspain.github.io/climaemet/
contact:
- family-names: Hernangómez
  given-names: Diego
  email: [email protected]
  orcid: https://orcid.org/0000-0001-8457-4658
keywords:
- aemet
- climate
- cran
- data
- forecast-api
- r
- r-package
- ropenspain
- rstats
- science
- spain
- weather-api
references:
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2025'
  version: '>= 3.6.0'
- type: software
  title: cli
  abstract: 'cli: Helpers for Developing Command Line Interfaces'
  notes: Imports
  url: https://cli.r-lib.org
  repository: https://CRAN.R-project.org/package=cli
  authors:
  - family-names: Csárdi
    given-names: Gábor
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.cli
  version: '>= 3.0.0'
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: [email protected]
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2025'
  doi: 10.32614/CRAN.package.dplyr
  version: '>= 1.0.0'
- type: software
  title: ggplot2
  abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
  notes: Imports
  url: https://ggplot2.tidyverse.org
  repository: https://CRAN.R-project.org/package=ggplot2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Chang
    given-names: Winston
    orcid: https://orcid.org/0000-0002-1576-2126
  - family-names: Henry
    given-names: Lionel
  - family-names: Pedersen
    given-names: Thomas Lin
    email: [email protected]
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Takahashi
    given-names: Kohske
  - family-names: Wilke
    given-names: Claus
    orcid: https://orcid.org/0000-0002-7470-9261
  - family-names: Woo
    given-names: Kara
    orcid: https://orcid.org/0000-0002-5125-4188
  - family-names: Yutani
    given-names: Hiroaki
    orcid: https://orcid.org/0000-0002-3385-7233
  - family-names: Dunnington
    given-names: Dewey
    orcid: https://orcid.org/0000-0002-9415-4582
  - family-names: Brand
    given-names: Teun
    name-particle: van den
    orcid: https://orcid.org/0000-0002-9335-7468
  year: '2025'
  doi: 10.32614/CRAN.package.ggplot2
  version: '>= 3.3.2'
- type: software
  title: httr2
  abstract: 'httr2: Perform HTTP Requests and Process the Responses'
  notes: Imports
  url: https://httr2.r-lib.org
  repository: https://CRAN.R-project.org/package=httr2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.httr2
  version: '>= 1.0.0'
- type: software
  title: jsonlite
  abstract: 'jsonlite: A Simple and Robust JSON Parser and Generator for R'
  notes: Imports
  url: https://jeroen.r-universe.dev/jsonlite
  repository: https://CRAN.R-project.org/package=jsonlite
  authors:
  - family-names: Ooms
    given-names: Jeroen
    email: [email protected]
    orcid: https://orcid.org/0000-0002-4035-0289
  year: '2025'
  doi: 10.32614/CRAN.package.jsonlite
  version: '>= 1.7.0'
- type: software
  title: rappdirs
  abstract: 'rappdirs: Application Directories: Determine Where to Save Data, Caches,
    and Logs'
  notes: Imports
  url: https://rappdirs.r-lib.org
  repository: https://CRAN.R-project.org/package=rappdirs
  authors:
  - family-names: Ratnakumar
    given-names: Sridhar
  - family-names: Mick
    given-names: Trent
  - family-names: Davis
    given-names: Trevor
  year: '2025'
  doi: 10.32614/CRAN.package.rappdirs
  version: '>= 0.3.3'
- type: software
  title: readr
  abstract: 'readr: Read Rectangular Text Data'
  notes: Imports
  url: https://readr.tidyverse.org
  repository: https://CRAN.R-project.org/package=readr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  - family-names: Hester
    given-names: Jim
  - family-names: Bryan
    given-names: Jennifer
    email: [email protected]
    orcid: https://orcid.org/0000-0002-6983-2759
  year: '2025'
  doi: 10.32614/CRAN.package.readr
  version: '>= 1.4.0'
- type: software
  title: rlang
  abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
  notes: Imports
  url: https://rlang.r-lib.org
  repository: https://CRAN.R-project.org/package=rlang
  authors:
  - family-names: Henry
    given-names: Lionel
    email: [email protected]
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.rlang
  version: '>= 0.4.6'
- type: software
  title: tibble
  abstract: 'tibble: Simple Data Frames'
  notes: Imports
  url: https://tibble.tidyverse.org/
  repository: https://CRAN.R-project.org/package=tibble
  authors:
  - family-names: Müller
    given-names: Kirill
    email: [email protected]
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.tibble
  version: '>= 3.0.3'
- type: software
  title: tidyr
  abstract: 'tidyr: Tidy Messy Data'
  notes: Imports
  url: https://tidyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=tidyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  - family-names: Vaughan
    given-names: Davis
    email: [email protected]
  - family-names: Girlich
    given-names: Maximilian
  year: '2025'
  doi: 10.32614/CRAN.package.tidyr
  version: '>= 1.1.0'
- type: software
  title: xml2
  abstract: 'xml2: Parse XML'
  notes: Imports
  url: https://xml2.r-lib.org
  repository: https://CRAN.R-project.org/package=xml2
  authors:
  - family-names: Wickham
    given-names: Hadley
  - family-names: Hester
    given-names: Jim
  - family-names: Ooms
    given-names: Jeroen
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.xml2
- type: software
  title: climatol
  abstract: 'climatol: Climate Tools (Series Homogenization and Derived Products)'
  notes: Suggests
  url: https://climatol.eu
  repository: https://CRAN.R-project.org/package=climatol
  authors:
  - family-names: Guijarro
    given-names: Jose A.
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.climatol
  version: '>= 3.1.2'
- type: software
  title: gganimate
  abstract: 'gganimate: A Grammar of Animated Graphics'
  notes: Suggests
  url: https://gganimate.com
  repository: https://CRAN.R-project.org/package=gganimate
  authors:
  - family-names: Pedersen
    given-names: Thomas Lin
    email: [email protected]
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Robinson
    given-names: David
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.gganimate
  version: '>= 1.0.5'
- type: software
  title: jpeg
  abstract: 'jpeg: Read and write JPEG images'
  notes: Suggests
  url: https://www.rforge.net/jpeg/
  repository: https://CRAN.R-project.org/package=jpeg
  authors:
  - family-names: Urbanek
    given-names: Simon
    email: [email protected]
    orcid: https://orcid.org/0000-0003-2297-1732
  year: '2025'
  doi: 10.32614/CRAN.package.jpeg
  version: '>= 0.1.8'
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Suggests
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: [email protected]
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2025'
  doi: 10.32614/CRAN.package.knitr
- type: software
  title: lifecycle
  abstract: 'lifecycle: Manage the Life Cycle of your Package Functions'
  notes: Suggests
  url: https://lifecycle.r-lib.org/
  repository: https://CRAN.R-project.org/package=lifecycle
  authors:
  - family-names: Henry
    given-names: Lionel
    email: [email protected]
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
    orcid: https://orcid.org/0000-0003-4757-117X
  year: '2025'
  doi: 10.32614/CRAN.package.lifecycle
- type: software
  title: lubridate
  abstract: 'lubridate: Make Dealing with Dates a Little Easier'
  notes: Suggests
  url: https://lubridate.tidyverse.org
  repository: https://CRAN.R-project.org/package=lubridate
  authors:
  - family-names: Spinu
    given-names: Vitalie
    email: [email protected]
  - family-names: Grolemund
    given-names: Garrett
  - family-names: Wickham
    given-names: Hadley
  year: '2025'
  doi: 10.32614/CRAN.package.lubridate
- type: software
  title: mapSpain
  abstract: 'mapSpain: Administrative Boundaries of Spain'
  notes: Suggests
  url: https://ropenspain.github.io/mapSpain/
  repository: https://CRAN.R-project.org/package=mapSpain
  authors:
  - family-names: Hernangómez
    given-names: Diego
    email: [email protected]
    orcid: https://orcid.org/0000-0001-8457-4658
  year: '2025'
  doi: 10.32614/CRAN.package.mapSpain
- type: software
  title: rmarkdown
  abstract: 'rmarkdown: Dynamic Documents for R'
  notes: Suggests
  url: https://pkgs.rstudio.com/rmarkdown/
  repository: https://CRAN.R-project.org/package=rmarkdown
  authors:
  - family-names: Allaire
    given-names: JJ
    email: [email protected]
  - family-names: Xie
    given-names: Yihui
    email: [email protected]
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Dervieux
    given-names: Christophe
    email: [email protected]
    orcid: https://orcid.org/0000-0003-4474-2498
  - family-names: McPherson
    given-names: Jonathan
    email: [email protected]
  - family-names: Luraschi
    given-names: Javier
  - family-names: Ushey
    given-names: Kevin
    email: [email protected]
  - family-names: Atkins
    given-names: Aron
    email: [email protected]
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  - family-names: Cheng
    given-names: Joe
    email: [email protected]
  - family-names: Chang
    given-names: Winston
    email: [email protected]
  - family-names: Iannone
    given-names: Richard
    email: [email protected]
    orcid: https://orcid.org/0000-0003-3925-190X
  year: '2025'
  doi: 10.32614/CRAN.package.rmarkdown
- type: software
  title: scales
  abstract: 'scales: Scale Functions for Visualization'
  notes: Suggests
  url: https://scales.r-lib.org
  repository: https://CRAN.R-project.org/package=scales
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  - family-names: Pedersen
    given-names: Thomas Lin
    email: [email protected]
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Seidel
    given-names: Dana
  year: '2025'
  doi: 10.32614/CRAN.package.scales
- type: software
  title: sf
  abstract: 'sf: Simple Features for R'
  notes: Suggests
  url: https://r-spatial.github.io/sf/
  repository: https://CRAN.R-project.org/package=sf
  authors:
  - family-names: Pebesma
    given-names: Edzer
    email: [email protected]
    orcid: https://orcid.org/0000-0001-8049-7069
  year: '2025'
  doi: 10.32614/CRAN.package.sf
  version: '>= 0.9.0'
- type: software
  title: terra
  abstract: 'terra: Spatial Data Analysis'
  notes: Suggests
  url: https://rspatial.org/
  repository: https://CRAN.R-project.org/package=terra
  authors:
  - family-names: Hijmans
    given-names: Robert J.
    email: [email protected]
    orcid: https://orcid.org/0000-0001-5872-2872
  year: '2025'
  doi: 10.32614/CRAN.package.terra
  version: '>= 1.8-10'
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: [email protected]
  year: '2025'
  doi: 10.32614/CRAN.package.testthat
  version: '>= 3.0.0'


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 338
Total Committers: 7
Avg Commits per committer: 48.286
Development Distribution Score (DDS): 0.225

Commits in past year: 90
Committers in past year: 3
Avg Commits per committer in past year: 30.0
Development Distribution Score (DDS) in past year: 0.244

Name Email Commits
Diego H d****o@g****m 262
github-actions[bot] 4****] 37
GitHub Actions a****s@g****m 21
mpizarrotig m****o@h****m 11
dependabot[bot] 4****] 4
ImgBotApp I****p@g****m 2
Gema Fernández-Avilés Calderón 8****s 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 26
Total pull requests: 47
Average time to close issues: 3 months
Average time to close pull requests: about 15 hours
Total issue authors: 5
Total pull request authors: 2
Average comments per issue: 1.19
Average comments per pull request: 0.21
Merged pull request: 44
Bot issues: 1
Bot pull requests: 5

Past year issues: 8
Past year pull requests: 12
Past year average time to close issues: 8 days
Past year average time to close pull requests: 2 days
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 1.13
Past year average comments per pull request: 0.58
Past year merged pull request: 11
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ropenspain/climaemet

Top Issue Authors

  • dieghernan (21)
  • jesbrz (2)
  • dominicroye (1)
  • indycool79 (1)
  • github-actions[bot] (1)

Top Pull Request Authors

  • dieghernan (42)
  • dependabot[bot] (5)

Top Issue Labels

  • enhancement (6)
  • documentation (2)
  • help wanted (2)
  • question (1)

Top Pull Request Labels

  • enhancement (6)
  • dependencies (5)

Package metadata

cran.r-project.org: climaemet

Climate AEMET Tools

  • Homepage: https://ropenspain.github.io/climaemet/
  • Documentation: http://cran.r-project.org/web/packages/climaemet/climaemet.pdf
  • Licenses: GPL-3
  • Latest release: 1.4.1 (published about 1 month ago)
  • Last Synced: 2025-04-26T14:03:14.886Z (about 12 hours ago)
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 1,130 Last month
  • Rankings:
    • Stargazers count: 9.922%
    • Downloads: 15.787%
    • Average: 19.829%
    • Forks count: 20.992%
    • Dependent repos count: 23.802%
    • Dependent packages count: 28.642%
  • Maintainers (1)

Dependencies

.github/workflows/check-examples.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/cran-status.yaml actions
  • actions/checkout v3 composite
  • dieghernan/cran-status-check v1 composite
.github/workflows/pkgdown-gh-pages-clean.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/roscron-check-full.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rostemplate-gh-pages.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/update-docs.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 3.6.0 depends
  • dplyr >= 1.0.0 imports
  • ggplot2 >= 3.3.2 imports
  • httr >= 1.4.1 imports
  • jsonlite >= 1.7.0 imports
  • rappdirs >= 0.3.3 imports
  • readr >= 1.4.0 imports
  • rlang >= 0.4.6 imports
  • tibble >= 3.0.3 imports
  • tidyr >= 1.1.0 imports
  • climatol >= 3.1.2 suggests
  • gganimate >= 1.0.5 suggests
  • jpeg >= 0.1.8 suggests
  • knitr * suggests
  • lubridate * suggests
  • rmarkdown * suggests
  • scales * suggests
  • sf >= 0.9.0 suggests
.github/workflows/lintr.yaml actions
  • actions/checkout v4 composite
  • github/codeql-action/upload-sarif v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgcheck.yaml actions
  • ropensci-review-tools/pkgcheck-action main composite
.github/workflows/wipe-cache.yaml actions
  • easimon/wipe-cache main composite

Score: 12.761841041736703