tests/testthat/_snaps/market_share.md

outputs the expected snapshot

Code
  some_market_share
Output
        sector technology year region scenario_source     metric production
  1 automotive   electric 2020 global       demo_2020  projected   324591.7
  2 automotive   electric 2020 global       demo_2020 target_cps   324591.7
  3 automotive   electric 2020 global       demo_2020 target_sds   324591.7
  4 automotive   electric 2020 global       demo_2020 target_sps   324591.7
  5 automotive   electric 2021 global       demo_2020  projected   339655.6
  6 automotive   electric 2021 global       demo_2020 target_cps   329190.8
    technology_share  scope percentage_of_initial_production_by_scope
  1       0.07591264 sector                               0.000000000
  2       0.07591264 sector                               0.000000000
  3       0.07591264 sector                               0.000000000
  4       0.07591264 sector                               0.000000000
  5       0.07861408 sector                               0.003523030
  6       0.07440943 sector                               0.001075611


Try the r2dii.plot package in your browser

Any scripts or data that you put into this service are public.

r2dii.plot documentation built on May 31, 2023, 6:46 p.m.