I have coded
canada_raw <- readOGR(dsn = "data/gcd_000b11a_e",
layer = "gcd_000b11a_e",
use_iconv=TRUE,
encoding="CP1250")
canada_raw_json <- geojson_json(canada_raw)
canada_raw_sim <- ms_simplify(canada_raw_json)
I am getting an error message I dont know how to handle it
error message is
Error: lexical error: invalid bytes in UTF8 string.
CDUID": "2485", "CDNAME": "Témiscamingue", "CDTYPE": "MRC",
(right here) ------^