24 lines
779 B
R
24 lines
779 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/functions.R
|
|
\name{get_epa_ecoregions}
|
|
\alias{get_epa_ecoregions}
|
|
\title{Download EPA Level III Ecoregions Data}
|
|
\usage{
|
|
get_epa_ecoregions(url, dest_dir = "data/epa")
|
|
}
|
|
\arguments{
|
|
\item{url}{Character string. The direct URL to the EPA Ecoregions zip file.}
|
|
|
|
\item{dest_dir}{Character string. The local directory where the data should
|
|
be saved. Defaults to "data/epa".}
|
|
}
|
|
\value{
|
|
A character string containing the full file path to the downloaded zip file.
|
|
This return value is designed to be tracked by \code{targets}.
|
|
}
|
|
\description{
|
|
Downloads the EPA Level III Ecoregions shapefile (zip format)
|
|
to a local directory. Implements a caching check to avoid re-downloading
|
|
if the file already exists.
|
|
}
|