Skip to content
Prev 29102 / 29559 Next

Convert geojson file to R

Interestingly, what seems to works is

readLines('countrymasks.geojson') |> st_read() -> r

with a warning:

Warning message:
In readLines("countrymasks.geojson") :
   incomplete final line found on 'countrymasks.geojson'
On 29/11/2022 00:58, Miluji Sb wrote: