
Map an OSF license name to a Zenodo license identifier
Source:R/archive-zenodo-upload.R
dot-zenodo_license_id.RdZenodo wants an SPDX-style identifier (e.g. "cc-by-4.0"), while the OSF
stores a display name (e.g. "CC-By Attribution 4.0 International"). Only
the licenses the OSF actually offers are mapped; anything else returns NA so
the caller can fall back to its license argument rather than send Zenodo a
value it will reject.