Re: [R-sig-Geo] Mapping census tracts with leaflet(): "sf layer has inconsistent datum" error

2023-06-01 Thread Kevin Zembower via R-sig-Geo
Ben and Olivier, thank you so much for your help, and the additional resources you provided. You helped me not only fix my problem, but also to understand what caused it. Thanks, again. -Kevin On 5/31/23 18:16, Ben Tupper wrote: > Hi, > > This is a great place to ask - and nice reproducible

Re: [R-sig-Geo] Mapping census tracts with leaflet(): "sf layer has inconsistent datum" error

2023-05-31 Thread Ben Tupper
Hi, This is a great place to ask - and nice reproducible code! You have a two issues as far as I can see. First it seems you have dropped the "4" in "WGS84". And second you want to transform rw_pop, not the output of leaflet(). The following works for me. ## Start library(tidyverse)

[R-sig-Geo] Mapping census tracts with leaflet(): "sf layer has inconsistent datum" error

2023-05-31 Thread Kevin Zembower via R-sig-Geo
Hello, all. Newbie to sf, tidycensus and the tidyverse here. First off, is this the appropriate list to ask this question? If not, let me know and I'll go away. I'm trying to map census blocks for my neighborhood to a base map. I'm using tidycensus to get the geometry of the census blocks, and