Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kspurgin/5eb55799650764e53e34388b3a260e06 to your computer and use it in GitHub Desktop.
Save kspurgin/5eb55799650764e53e34388b3a260e06 to your computer and use it in GitHub Desktop.
Initial formatting of ead_creators_wikidata_recon_verify.xlsx for use in batch editing Wikidata
[
{
"op": "core/column-removal",
"description": "Remove column date of birth",
"columnName": "date of birth"
},
{
"op": "core/column-removal",
"description": "Remove column date of death",
"columnName": "date of death"
},
{
"op": "core/column-removal",
"description": "Remove column place of birth",
"columnName": "place of birth"
},
{
"op": "core/column-removal",
"description": "Remove column place of birth url",
"columnName": "place of birth url"
},
{
"op": "core/column-removal",
"description": "Remove column work location",
"columnName": "work location"
},
{
"op": "core/column-removal",
"description": "Remove column work location url",
"columnName": "work location url"
},
{
"op": "core/column-removal",
"description": "Remove column father",
"columnName": "father"
},
{
"op": "core/column-removal",
"description": "Remove column father url",
"columnName": "father url"
},
{
"op": "core/column-removal",
"description": "Remove column mother",
"columnName": "mother"
},
{
"op": "core/column-removal",
"description": "Remove column mother url",
"columnName": "mother url"
},
{
"op": "core/column-removal",
"description": "Remove column archives at url",
"columnName": "archives at url"
},
{
"op": "core/column-removal",
"description": "Remove column SNAC Ark ID",
"columnName": "SNAC Ark ID"
},
{
"op": "core/row-removal",
"description": "Remove rows",
"engineConfig": {
"facets": [
{
"type": "list",
"name": "finding aid URL",
"expression": "isBlank(value).toString()",
"columnName": "finding aid URL",
"invert": false,
"selection": [
{
"v": {
"v": "true",
"l": "true"
}
}
],
"selectNumber": false,
"selectDateTime": false,
"selectBoolean": false,
"omitBlank": false,
"selectBlank": false,
"omitError": false,
"selectError": false
}
],
"mode": "row-based"
}
},
{
"op": "core/column-removal",
"description": "Remove column wikidata_item_url",
"columnName": "wikidata_item_url"
},
{
"op": "core/column-removal",
"description": "Remove column wikidata_creator",
"columnName": "wikidata_creator"
},
{
"op": "core/column-removal",
"description": "Remove column sort",
"columnName": "sort"
},
{
"op": "core/column-removal",
"description": "Remove column archives at",
"columnName": "archives at"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment