Skip to content

Commit

Permalink
and another example added because this is easier for everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
stitova-idm committed Oct 16, 2024
1 parent 1df5c0d commit 823372e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/emod/software-migration-creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ The following parameters are used in the JSON file for migration file generation



Example file
------------
Example files
-------------

.. literalinclude:: ../json/migration-input-file.json
:language: json

.. literalinclude:: ../json/migration-input-file-both-genders.json
:language: json
19 changes: 19 additions & 0 deletions docs/json/migration-input-file-both-genders.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"IdReference": "ABC",
"Interpolation_Type": "PIECEWISE_CONSTANT",
"Gender_Data_Type": "ONE_FOR_BOTH_GENDERS",
"Ages_Years": [14.99, 15, 45, 75, 105],
"Node_Data": [{
"From_Node_ID": 1,
"Rate_Data": [{
"To_Node_ID": 2,
"Avg_Num_Trips_Per_Day_Both": [0.0, 0.1, 0.2, 0.3, 0.0]
}]
}, {
"From_Node_ID": 2,
"Rate_Data": [{
"To_Node_ID": 1,
"Avg_Num_Trips_Per_Day_Both": [0.0, 0.2, 0.5, 0.3, 0.0]
}]
}]
}

0 comments on commit 823372e

Please sign in to comment.