2DegreesInvesting / tiltWebTool

APP: https://mauro-2dii.shinyapps.io/tiltwebtool/
https://2degreesinvesting.github.io/tiltWebTool/
GNU General Public License v3.0
0 stars 0 forks source link

Add map #45

Closed maurolepore closed 1 week ago

maurolepore commented 1 month ago

Implement emission at product level, which seems to be the only data that currently works -- after turning postcodes to integers.

# All of this fails. Is it expected?
library(tiltWebTool)
library(tiltPlot)

emissions |> 
  unnest_product() |> 
  transform(postcode = as.integer(postcode)) |> 
  tiltPlot::map_region_risk()
#> Warning in eval(substitute(list(...)), `_data`, parent.frame()): NAs introduced
#> by coercion
#> Extracting data using giscoR package, please report issues on https://github.com/rOpenGov/giscoR/issues

Created on 2024-06-02 with reprex v2.1.0

maurolepore commented 1 week ago

Not planned for now