evanodell / parlitools

A collection of useful tools for UK politics
http://docs.evanodell.com/parlitools
Other
23 stars 0 forks source link

CRS error #9

Open mikeyernest opened 1 year ago

mikeyernest commented 1 year ago

Hello, I'm getting an CRS error when joining data to the base map -- is there a workaround for this? thank you!

> west_trump_no <- dplyr::left_join(west_hex_map, trump_no, by = "gss_code") #Joining to base map

gives error:

old-style crs object detected; please recreate object with a recent sf::st_crs()
evanodell commented 1 year ago

I'll re-run the scripts to create the various hex maps with updated logic in a couple hours, hopefully that should solve the problem.

evanodell commented 1 year ago

@mikeyernest I've re-run the base files, can you install from github and try again?

mikeyernest commented 1 year ago

problem solved! thank you thank you