Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

Handling R function

$
0
0

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) ------^

Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>