There are affiliations associated with a creator.
Details
Affiliation in datacite is an array of objects with properties name, affiliationIdentifier, affiliationIdentifierScheme, and schemeURI. This function takes the affiliation fields and restructures as a list within the dataframe.
Affiliation fields to be converted to a list: "affiliation", #' "affiliationIdentifier", "affiliationIdentifierScheme" , "schemeUri"
See also
Other JSON Prep:
clean_field_names(),
get_entity(),
prep_array(),
prep_array_objects(),
prep_atomic(),
prep_creators(),
prep_data(),
prep_descriptions(),
prep_for_json(),
prep_from_metadata_template(),
prep_fundingReferences(),
prep_identifier(),
prep_language(),
prep_methodology(),
prep_methods(),
prep_nameIdentifiers(),
prep_object(),
prep_publicationYear(),
prep_relatedIdentifiers(),
prep_rights(),
prep_subjects(),
prep_titles()
Examples
creator_df <- wddsWizard::becker_project_metadata$creators[[1]]
creator_df_aff_prepped <- prep_affiliation(creator_df)