rmet: Download and Read Brazilian Meteorological Data from INMET

Automates the download and processing of historical hourly weather data from automatic stations of the Brazilian National Institute of Meteorology (INMET). It provides the official station catalogue with an offline snapshot and nearest-station search, validated and resumable downloads that detect updated archives, and a fast parser for the formatting and encoding inconsistencies of raw CSV files across years. It returns analysis-ready data frames with standardized column names and UTC timestamps. It flags implausible values with transparent quality-control checks, reports data completeness, and builds daily summaries in each station's local time with explicit rules for incomplete days. Data are retrieved from <https://portal.inmet.gov.br/dadoshistoricos> and <https://apitempo.inmet.gov.br/estacoes/T>.

Version: 0.3.0
Depends: R (≥ 4.0.0)
Imports: curl (≥ 4.0), jsonlite
Suggests: spelling, testthat (≥ 3.0.0), knitr, rmarkdown, sf
Published: 2026-10-20
DOI: 10.32614/CRAN.package.rmet
Author: Rodrigo Fonseca Villa ORCID iD [aut, cre]
Maintainer: Rodrigo Fonseca Villa <rodrigo03.villa at gmail.com>
BugReports: https://github.com/rodrigosqrt3/rmet/issues
License: GPL (≥ 3)
URL: https://github.com/rodrigosqrt3/rmet
NeedsCompilation: no
Language: en-US
Citation: rmet citation info
Materials: README, NEWS
CRAN checks: rmet results

Documentation:

Reference manual: rmet.html , rmet.pdf
Vignettes: Time Zones, Missing Hours and Daily Data (source, R code)
Getting Started with rmet (source, R code)

Downloads:

Package source: rmet_0.3.0.tar.gz
Windows binaries: r-devel: rmet_0.2.0.zip, r-release: rmet_0.2.0.zip, r-oldrel: rmet_0.2.0.zip
macOS binaries: r-release (arm64): rmet_0.2.0.tgz, r-oldrel (arm64): rmet_0.2.0.tgz, r-release (x86_64): rmet_0.2.0.tgz, r-oldrel (x86_64): rmet_0.3.0.tgz
Old sources: rmet archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rmet to link to this page.