% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zenodo.R
\name{cer_deposit_zenodo}
\alias{cer_deposit_zenodo}
\title{Prepare a Zenodo deposit payload for the session manifest}
\usage{
cer_deposit_zenodo(
  title = NULL,
  description = NULL,
  creators = list(list(name = "Anonymous")),
  keywords = c("Clean Energy Regulator", "carbon markets", "Australia", "ACCU",
    "Safeguard", "reproducibility"),
  upload = FALSE,
  sandbox = FALSE,
  token = Sys.getenv("ZENODO_TOKEN")
)
}
\arguments{
\item{title}{Deposit title. Defaults to a snapshot-date string.}

\item{description}{Free-text description. Defaults to a short
auto-generated summary of datasets fetched.}

\item{creators}{List of creator records.}

\item{keywords}{Character vector of keywords.}

\item{upload}{Logical. If \code{TRUE}, POSTs to Zenodo.}

\item{sandbox}{Logical. If \code{TRUE}, uses Zenodo Sandbox for tests.}

\item{token}{Zenodo personal access token. Defaults to
\code{Sys.getenv("ZENODO_TOKEN")}.}
}
\value{
A list with \code{payload}, \code{manifest_path}, and (on upload)
\code{deposit_id}, \code{doi_prereserve}, \code{url}.
}
\description{
Builds Zenodo-shaped metadata for a data deposit using the
current \code{\link[=cer_manifest]{cer_manifest()}} and the snapshot pin set via
\code{\link[=cer_snapshot]{cer_snapshot()}}. Dry run by default; pass \code{upload = TRUE} and
a token to actually deposit.
}
\details{
Because CER data is revised retroactively, Zenodo DOIs are the
strongest reproducibility artefact available: they freeze the
exact bytes of the ACCU project register, Safeguard facility
file, or QCMR workbook at the date of analysis.
}
\examples{
\donttest{
cer_snapshot("2026-04-24")
cer_deposit_zenodo(
  title = "CER data snapshot for working paper v1",
  creators = list(list(name = "Author, A.")),
  upload = FALSE
)
}
}
\seealso{
Other reproducibility: 
\code{\link{cer_cite}()},
\code{\link{cer_legislative_instrument}()},
\code{\link{cer_manifest}()},
\code{\link{cer_manifest_clear}()},
\code{\link{cer_manifest_write}()},
\code{\link{cer_sha256}()},
\code{\link{cer_snapshot}()}
}
\concept{reproducibility}
