Data source https://data.cese.nsw.gov.au/data/dataset/nsw-public-schools-income-from-licensed-canteens
Steps to generate data.json
-
Download csv
-
Move the csv file into
/data
-
Change the csv file name from
2022-licensed-canteens.csv
todata.csv
-
Open the
data.csv
file- Remove title from the top row
- Remove total income from the bottom row
- Add column name on top: name, income
-
Convert
data.csv
file todata.json
with following commandnode data/convert_csv_to_json.js