Closed cpritcha closed 5 years ago
added in code to add the missing columns with random numbers if they are not there.
Great. Thanks @seanbergin. I can see the visualization now but I'm still seeing a stream of
Warning in mean.default(geographic_id) :
argument is not numeric or logical: returning NA
messages as the visualization runs. Does this need to be initialized too?
I also get some warnings about some values being outside the color scale for vulnerability.
Warning in pal(filteredData()$vulnerability) :
Some values were outside the color scale and will be treated as NA
Warning in pal(c(r[1], cuts, r[2])) :
Some values were outside the color scale and will be treated as NA
They are all normal warnings... I can try and look deeper at them if you think there's a reason to be concerned..
Vulnerability values are getting colored as NA (grey) so that should be handled.
The geographic_id
warning probably isn't that important.
The vulnerability values and coloring scales are not real.. so the scale will change again once I have real numbers. I can make the change that will fix that though. I will change it and upload to git
Great. I'll put the visualization up.
When I try to load the app in RStudio I'm getting errors about unknown or uninitialized column