scenarioJSON | R Documentation |
From multiple travel scenarios table, the function creates a JSON file that can be used when running an AccessMod replay by command line.
scenarioJSON(inputFolder, landcoverFile, outputFolder, fileName)
inputFolder |
character; the path to the input folder, which must contains an administrative unit shapefile, a merged landcover imported from AccessMod and an Excel or CSV table for each travel scenario. |
landcoverFile |
character; the file name of the original merged landcover (with extension). |
outputFolder |
character; the output folder where the JSON file will be written. |
fileName |
character; the name of the output JSON file (without extension). |
A JSON file is created in the output folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.