Skip to contents

There are affiliations associated with a creator.

Usage

prep_affiliation(x)

Arguments

x

Data frame from prep_creators

Value

Data frame with affiliation fields in a list column called affiliation

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"

Examples

creator_df <- wddsWizard::becker_project_metadata$creators[[1]]
creator_df_aff_prepped <- prep_affiliation(creator_df)