@AntJam-Howell
Hi, I have my dorling cartogram created and saved.
library( geojsonio )
seattle.sp <- spTransform( seattle.sp_dorling, CRS("+proj=longlat +datum=WGS84") )
geojson_write( seattle.sp_dorling, file="seattle.sp_dorling.geojson", geometry="polygon" )
The file path is created as shown below:
<geojson-file>
Path: seattle.sp_dorling.geojson
From class: SpatialPolygonsDataFrame
I try to pull the path in the dashboard like this:
# DATA STEPS
library( geojsonio )
library( sp )
library( tmap )
seattle.sp <- geojson_read("data/seattle.sp_dorling.geojson", what="sp" )
plot( seattle.sp )
I keep getting the error : Error: File does not exist. Create it, or fix the path.
I'm not sure what I need to do to pull in the path. I changed the work directory to file path and that didn't seem to do it either. Is there something I'm missing?
@AntJam-Howell
Hi, I have my dorling cartogram created and saved.
The file path is created as shown below:
I try to pull the path in the dashboard like this:
I keep getting the error : Error: File does not exist. Create it, or fix the path.
I'm not sure what I need to do to pull in the path. I changed the work directory to file path and that didn't seem to do it either. Is there something I'm missing?