diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-09-16 16:23:42 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-09-16 16:23:42 +0200 |
| commit | 0885b9db9e264a666cd0fa656442569a953fb7f7 (patch) | |
| tree | e2107bee4387c168681ad02732c48072255fc808 /load_spreadsheet.js | |
| parent | 3289ce3181c69ea4d696cc2d29a5e1579f6593cb (diff) | |
update tags. implement clocks
Diffstat (limited to 'load_spreadsheet.js')
| -rw-r--r-- | load_spreadsheet.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/load_spreadsheet.js b/load_spreadsheet.js index a7f1793..689b9d8 100644 --- a/load_spreadsheet.js +++ b/load_spreadsheet.js @@ -11,7 +11,7 @@ import sizeOf from "image-size"; const datasheetFile = "./data_store/tags.csv"; const dbFile = "./db.json"; -var tagTypes = "No6092,1620s,painting,blunt,National Gallery of Canada,AGO,courtauld,intervensions,connsoeurship,double agent,forensics,black box,Stankievech".split( +var categories = "1620s,painting,blunt,National Gallery of Canada,Art Gallery of Ontario,Courtauld Institute,Stankievech,connsoeurship,double agent,forensics,black box".split( "," ); @@ -46,7 +46,7 @@ async function main() { }; // loop over the tags... let tagIndex = 0; - tagTypes.forEach((type, tagId) => { + categories.forEach((type, tagId) => { if (row[type] === "x") { record["tag_" + tagIndex] = tagId + 1; tagIndex += 1; |
