To update the Compare page to current budget data, we want to use local files instead of a WordPress API. The data should be placed in the _src/data/compare folder. The files that are currently in that folder are not used, as they are for Open Budget Oakland.
The 2015-2018 data currently being consumed from the Open Budget Sacramento WordPress API can help show the format we need to follow.
The files should be named FY13.json, FY14.json, to FY22.json and be placed in their corresponding folders. We can convert the data from CSV to JSON, similar to the Treemap process data Python script. It should be noted that the old 2015-2018 data is in a different format than the current 2013-2022 data from the Sacramento City Budget API. We should try to keep 2015-2018 the same, and only update 2013-2014 and 2019-2022 data.
To update the Compare page to current budget data, we want to use local files instead of a WordPress API. The data should be placed in the _src/data/compare folder. The files that are currently in that folder are not used, as they are for Open Budget Oakland.
The 2015-2018 data currently being consumed from the Open Budget Sacramento WordPress API can help show the format we need to follow.
The files should be named FY13.json, FY14.json, to FY22.json and be placed in their corresponding folders. We can convert the data from CSV to JSON, similar to the Treemap process data Python script. It should be noted that the old 2015-2018 data is in a different format than the current 2013-2022 data from the Sacramento City Budget API. We should try to keep 2015-2018 the same, and only update 2013-2014 and 2019-2022 data.