Skip to contents

Build the metadata Zenodo expects for one deposition

Usage

.zenodo_build_metadata(
  meta,
  folder,
  license = "cc-by-4.0",
  upload_type = "dataset"
)

Arguments

meta

a metadata list from .osf_zenodo_metadata(), or NULL

folder

the folder being uploaded (used for the title as a last resort)

license

the fallback Zenodo license id

upload_type

the Zenodo resource type

Value

a list ready to send as the deposition's metadata