cleaned up gabmap file creation

This commit is contained in:
H.T. Kruitbosch 2018-10-01 17:20:21 +02:00
parent d299069253
commit ce3c1e9ed1
2 changed files with 2235 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -422,7 +422,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
@ -430,7 +430,7 @@
"counts_example.to_csv('../data/Pronunciation_percentages_example.gabmap.tsv', sep='\\t')\n",
"centroids_example.to_csv('../data/Centroids_example.gabmap.tsv', sep='\\t', columns=['longitude', 'latitude'])\n",
"with open('../data/Gabmap_example.geojson', 'w') as f:\n",
" json.dump(regions_simple, f)"
" json.dump(regions_simple, f, indent=1)"
]
}
],