Copy the JSON from cars.json and assign it to a variable in a new application. This data holds sales information for a car dealership. Your job is to produce the following reports for the dealership based on their total 2017 sales.
- styling reports
- Report structure
- Required reports:
- Total profit for 2017
- Which bank provided the most loans to our customers?
- Which model was the most popular?
- In which month did they sell the most cars?
- Which salesperson sold the most cars?
- Which salesperson made the most profit?
[array of objects] (everything is a string unless otherwise noted)
- vehicle {obj}
- Year (number)
- Model
- Make
- Color
- sales_id
- sales_agent {obj}
- mobile
- last_name
- first_name
- purchase_date
- gross_profit (number)
- credit {obj}
- credit_provider
- account
- Clone the repo.
- From the command line, cd into the directory.
- Type
hs -o
into the command line.