Skip to content

Commit

Permalink
auto-populate Datacite Resource type general as 'Dataset'
Browse files Browse the repository at this point in the history
  • Loading branch information
sorochak committed Nov 1, 2023
1 parent 4bda5e0 commit a0a3095
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/recordToDataCite.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ function recordToDataCite(metadata) {
mappedDataCiteObject.data.attributes.geoLocations = geoLocations;
}

// Auto-populate Datacite Resource type general as 'dataset'
mappedDataCiteObject.data.attributes.types = {
resourceTypeGeneral: "Dataset",
};
return mappedDataCiteObject;
}

Expand Down

0 comments on commit a0a3095

Please sign in to comment.