noah/bielefeld/config/vldoctype.json

16 lines
972 B
JSON
Raw Permalink Normal View History

2021-05-11 22:20:40 +02:00
[
{
"op": "core/column-addition",
"engineConfig": {
"facets": [],
"mode": "row-based"
},
"baseColumnName": "doctype",
2022-03-15 18:33:40 +01:00
"expression": "grel:with([ ['article','oaArticle'], ['bachelorThesis','oaBachelorThesis'], ['book','oaBook'], ['bookPart','oaBookPart'], ['conferenceObject','conference_object'], ['CourseMaterial','course_material'], ['doctoralThesis','oaDoctoralThesis'], ['lecture','lecture'], ['Manuscript','handwritten'], ['masterThesis','oaMasterThesis'], ['MusicalNotation','notated music'], ['PeriodicalPart','journal issue'], ['preprint','oaPreprint'], ['report','oaBdArticle'], ['ResearchData','research_data'], ['review','review'], ['StudyThesis','oaStudyThesis'], ['Other','oaBdOther'],['workingPaper','working_paper'] ], x, forEach(x, v, if(value == v[0], v[1], null)).join(''))",
2021-05-11 22:20:40 +02:00
"onError": "set-to-blank",
"newColumnName": "vldoctype",
2022-03-15 18:33:40 +01:00
"columnInsertIndex": 3,
"description": "Create column vldoctype"
2021-05-11 22:20:40 +02:00
}
]