I would like to know how to view the output of a shapefile (shp
) in R. The file can be found by this link: https://encurtador.com.br/ivKS2
In this file is the Brazilian pipeline, but I would like to check how I can visualize this.
I did as follows:
library(rgdal)
library(sf)
temp <- tempfile()
temp2 <- tempfile()
download.file("https://encurtador.com.br/ivKS2",temp)
unzip(zipfile = temp, exdir = temp2)
shp <- sf::read_sf(temp2)
But it's going wrong.