% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read.R
\name{inmet_extract}
\alias{inmet_extract}
\title{Extract and save INMET ZIP contents to a directory}
\usage{
inmet_extract(
  years,
  dest_dir = tools::R_user_dir("rmet", "cache"),
  out_dir = file.path(dest_dir, "csv"),
  overwrite = FALSE,
  quiet = FALSE
)
}
\arguments{
\item{years}{Integer vector of years to extract.}

\item{dest_dir}{Character. Directory of ZIP files (same as \code{\link[=inmet_download]{inmet_download()}}).}

\item{out_dir}{Character. Directory where CSVs will be written. Defaults to
a subdirectory \verb{csv/} inside \code{dest_dir}.}

\item{overwrite}{Logical. Overwrite existing CSVs? Defaults to \code{FALSE}.}

\item{quiet}{Logical. Suppress messages. Defaults to \code{FALSE}.}
}
\value{
Invisible character vector of paths to all extracted CSV files.
}
\description{
Unzips one or more downloaded INMET annual ZIPs to a target directory,
preserving the original CSV files.
}
