header:
  title: Road Pricing
  description: General information about the simulated road pricing policy case.
layout:
  first:
  - type: tile
    height: 0.1
    dataset: analysis/roadpricing/roadPricing_tolled_agents.csv
  second:
  - type: bar
    title: Tolled agents
    description: income groups
    dataset: analysis/roadpricing/roadPricing_income_groups.csv
    x: incomeGroup
    columns:
    - share
    useLastRow: false
    xAxisName: income group
    yAxisName: share
    stacked: false
  - type: bar
    title: Tolled agents
    description: income groups
    dataset: analysis/roadpricing/roadPricing_income_groups.csv
    x: incomeGroup
    columns:
    - "Count [person]"
    useLastRow: false
    xAxisName: income group
    yAxisName: "Count [person]"
    stacked: false
  daytime:
  - type: bar
    title: Tolled agents
    description: per hour
    dataset: analysis/roadpricing/roadPricing_daytime_groups.csv
    x: hour
    columns:
    - share
    useLastRow: false
    xAxisName: hour
    yAxisName: share
    stacked: false
  - type: bar
    title: Tolled agents
    description: per hour
    dataset: analysis/roadpricing/roadPricing_daytime_groups.csv
    x: hour
    columns:
    - "Count [person]"
    useLastRow: false
    xAxisName: hour
    yAxisName: "Count [person]"
    stacked: false
  third:
  - type: hexagons
    title: Tolled agents home locations
    height: 7.5
    width: 2.0
    file: analysis/roadpricing/roadPricing_tolled_agents_home_locations.csv
    projection: EPSG:4485
    center:
    - -99.13
    - 19.43
    zoom: 9.1
    aggregations:
      home locations:
      - title: person
        x: home_x
        "y": home_y
  - type: map
    title: Toll area
    height: 7.5
    width: 2.0
    center:
    - -99.13
    - 19.43
    zoom: 9.1
    display:
      lineWidth: {}
      lineColor: {}
      fill: {}
      fillHeight: {}
      radius: {}
    shapes:
      file: analysis/roadpricing/roadPricing_area.shp
      join: id
    datasets: {}
  fourth:
  - type: bar
    title: Paid toll per income group
    description: mean and median values
    dataset: analysis/roadpricing/roadPricing_avg_toll_income_groups.csv
    x: incomeGroup
    columns:
    - "Mean [amount]"
    - "Median [amount]"
    useLastRow: false
    xAxisName: income group
    yAxisName: "Toll paid [MXN]"
    stacked: false
