facile_rs.utils.metadata.radar¶
Module Contents¶
Classes¶
Data¶
API¶
- logger = 'getLogger(...)'¶
- class RadarMetadata(data, responsible_email, publication_backlink)¶
Initialization
Initialize the RadarMetadata object from CodeMeta metadata.
- Parameters:
data (dict) – CodeMeta metadata, typically the data attribute of a CodemetaMetadata instance.
responsible_email (str) – email address of the contact person
publication_backlink (str) – URL to the publication
- doi_prefix = 'https://doi.org/'¶
- orcid_prefix = 'https://orcid.org/'¶
- ror_prefix = 'https://ror.org/'¶
- radar_licenses = None¶
- radar_value(string)¶
converts CamelCase to all caps and underscores, e.g. HostingInstitution -> HOSTING_INSTITUTION
- as_dict()¶
Prepare RADAR payload to be passed to the RADAR API.
- Returns:
RADAR metadata dictionary