% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hmrc-tbl.R
\name{hmrc_meta}
\alias{hmrc_meta}
\title{Provenance metadata of an \code{hmrc_tbl}}
\usage{
hmrc_meta(x)
}
\arguments{
\item{x}{An object returned by an \verb{hmrc_*} data function.}
}
\value{
A named list, or \code{NULL} if \code{x} has no metadata.
}
\description{
Returns the provenance list attached to a result from any \verb{hmrc_*} data
fetcher: source URL, fetch time, vintage, cell methods, and so on. Useful
for citation, audit trails, and reproducibility.
}
\examples{
\donttest{
op <- options(hmrc.cache_dir = tempdir())
tr <- hmrc_tax_receipts(tax = "vat", start = "2024-01")
hmrc_meta(tr)
options(op)
}

}
\seealso{
Other infrastructure: 
\code{\link{hmrc_cache_info}()},
\code{\link{hmrc_clear_cache}()},
\code{\link{hmrc_list_tax_heads}()},
\code{\link{hmrc_publications}()},
\code{\link{hmrc_search}()}
}
\concept{infrastructure}
