The creator object can be complex so we prepare components of the final object (e.g. affiliation, nameIdentifiers) then run prep_array_objects
See also
Other JSON Prep:
clean_field_names()
,
get_entity()
,
prep_affiliation()
,
prep_array_objects()
,
prep_atomic()
,
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
wddsWizard::becker_project_metadata$creators |>
prep_creators()
#> [[1]]
#> name givenName familyName
#> [x] Daniel J. Becker Daniel J. Becker
#> affiliation
#> [x] Department of Biology, University of Oklahoma, Norman, OK, USA, https://ror.org/02aqsxs83
#> nameIdentifiers
#> [x] https://orcid.org/0000-0003-4315-8628, ORCID
#>
#> [[2]]
#> name givenName familyName
#> [x] Guang-Sheng Lei Guang-Sheng Lei
#> affiliation
#> [x] Department of Pathology and Laboratory Medicine, Indiana University School of Medicine, Indianapolis, IN, USA, https://ror.org/02ets8c94
#>