We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f16b2ff commit f3be9c7Copy full SHA for f3be9c7
caltechdata_write/customize_schema.py
@@ -105,6 +105,9 @@ def customize_schema(json_record):
105
d['relevantDateType']=d.pop('dateType')
106
json_record['relevantDates']=json_record.pop('dates')
107
108
+ if "publicationYear" in json_record:
109
+ json_record["publicationDate"]=json_record["publicationYear"]
110
+
111
#license
112
if 'rightsList' in json_record:
113
licenses = json_record['rightsList']
0 commit comments