Skip to content

Commit

Permalink
remove unnecessary parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuli Massinen committed Feb 23, 2024
1 parent d2c64d7 commit d366ea8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions 6-kaavatietomallin-implementointi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@
"kunta_dissolve = kunta.dissolve(by='<insert kaavatunnus column here>', as_index=False) \n",
"\n",
"# Aineiston muuntaminen kaavatietomalliin ja JSON-dumpiksi\n",
"data_json = dataToJSON(kaavadata=kunta,\n",
" aineistolahde='<insert aineistolahde here>', # joko \"kunta\" tai \"KTJ\"\n",
" ktj_kaavatunnus='kaavatunnus_1', # vaihda, jos olet tenhyt vertailun kuntapohjaisesti!\n",
" kunta_kaavatunnus='kaavatunnus') # vaihda, jos olet tenhyt vertailun kuntapohjaisesti!\n",
"data_json = dataToJSON(kaavadata=kunta)\n",
"\n",
"# JSON tallennus\n",
"with open(r'<insert filepath here>.json', 'w', encoding='utf8') as outfile:\n",
Expand Down

0 comments on commit d366ea8

Please sign in to comment.