% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fetch.R
\name{fetch_field}
\alias{fetch_field}
\title{Download the UKB field dictionary file}
\usage{
fetch_field(dest_dir, overwrite = FALSE, resume = FALSE, verbose = TRUE)
}
\arguments{
\item{dest_dir}{(character) Destination directory. Created automatically
if it does not exist.}

\item{overwrite}{(logical) Overwrite existing local file. Default:
\code{FALSE}.}

\item{resume}{(logical) Resume an interrupted download. Default:
\code{FALSE}.}

\item{verbose}{(logical) Show download progress. Default: \code{TRUE}.}
}
\value{
Invisibly returns the local file path as a character string.
}
\description{
Downloads \code{field.tsv} from the \code{Showcase metadata/} folder on the
DNAnexus Research Analysis Platform. This file contains the complete UKB
data dictionary: field IDs, titles, value types, and encoding references.
}
\examples{
\dontrun{
fetch_field(dest_dir = "metadata")
fetch_field(dest_dir = "metadata", overwrite = TRUE)
}
}
