I have converted .shp file into geojson file using rgdal, httr, leafletR packages
file <- "province" # shp file name
arg_file <- readOGR(dsn = ".", "province") # destination require . to load from current directory
q.dat <- toGeoJSON(data = arg_file, name = "argentina")
Now I have an argentina.geojson file
How can I read the geojson file directly next time without converting the .shp file to geojson again as it is taking a lot of time.
Thanks in advance