% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/check-files.R
\name{spod_filter_available_files}
\alias{spod_filter_available_files}
\title{Filter available data by version, zones, type and dates}
\usage{
spod_filter_available_files(
  available_data,
  ver,
  zones,
  matched_type,
  dates_to_use
)
}
\arguments{
\item{available_data}{Tibble from spod_available_data}

\item{ver}{Integer. Data version (1 or 2)}

\item{zones}{Character. Zone name in Spanish (e.g., "distritos")}

\item{matched_type}{Character. Data type in Spanish (e.g., "viajes")}

\item{dates_to_use}{Date vector. Dates to filter by}
}
\value{
Filtered tibble
}
\description{
Internal helper to filter available_data tibble based on version-specific
grepl patterns. Extracted for testability.
}
\keyword{internal}
