Commit a09480bf authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Update schema of the data

parent 0bf27a8d
...@@ -416,7 +416,7 @@ ...@@ -416,7 +416,7 @@
"integrity": "sha512-4OcjOJQByI0YDU5COYw9HAqjo8/MOLLmT9EKyMCXUzgvh30vS1SlMK+Ho84IH5exN44cSnrYecw/7Zpu2m4lkA==" "integrity": "sha512-4OcjOJQByI0YDU5COYw9HAqjo8/MOLLmT9EKyMCXUzgvh30vS1SlMK+Ho84IH5exN44cSnrYecw/7Zpu2m4lkA=="
}, },
"csv-readable": { "csv-readable": {
"version": "git+https://gitlab+deploy-token-4:Htg4YFbNZ28_dqSfrtxp@source.dodis.ch/histhub/csvreadable.git#3e6c598d80c7bb545bfe07cafef93288a47c75df", "version": "git+https://gitlab+deploy-token-4:Htg4YFbNZ28_dqSfrtxp@source.dodis.ch/histhub/csvreadable.git#df53fa3dec8a86de85cedd092894a3f90d6e596f",
"from": "git+https://gitlab+deploy-token-4:Htg4YFbNZ28_dqSfrtxp@source.dodis.ch/histhub/csvreadable.git", "from": "git+https://gitlab+deploy-token-4:Htg4YFbNZ28_dqSfrtxp@source.dodis.ch/histhub/csvreadable.git",
"requires": { "requires": {
"@types/node": "^9.6.6", "@types/node": "^9.6.6",
......
...@@ -38,7 +38,7 @@ class Fundmuenzen extends CsvReadable { ...@@ -38,7 +38,7 @@ class Fundmuenzen extends CsvReadable {
name: records[0].toString(), name: records[0].toString(),
alternative_name: records[1].toString() + ' ' + records[2].toString() + ' ' alternative_name: records[1].toString() + ' ' + records[2].toString() + ' '
+ records[3].toString() + ' ' + records[4].toString(), + records[3].toString() + ' ' + records[4].toString(),
typology: 'municipality', typology: ['municipality'],
country: records[14], country: records[14],
location: this.buildLocation(parseFloat(records[5]), parseFloat(records[6])), location: this.buildLocation(parseFloat(records[5]), parseFloat(records[6])),
modification_date: this.getDate(), modification_date: this.getDate(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment