Skip to contents

osf_file_download(metadata = TRUE) writes _osf_metadata/metadata.json into each project folder. Reading it back means a folder can be uploaded with its real title, description, tags, licence and contributors without asking the OSF again – and still works for a project that has since been deleted there, which is the reason for archiving it in the first place.

Usage

.zenodo_meta_from_folder(folder)

Arguments

folder

a folder that may contain _osf_metadata/metadata.json

Value

a metadata list in the same shape .osf_zenodo_metadata() returns, or NULL when the folder has no such file