This package contains datasets of geographical information, mainly simple features sf structures, and other geographical information. The package depends on the sf package.
To install the package, take the following steps:
- If you are a Windows user, you need to install Rtools. You can find how to do that in this video: https://youtu.be/njZBf34Akgo.
- Install the devtools package from CRAN typing in the R console:
install.packages("devtools")
- Install the package from GitHub typing in the R console:
devtools::install_github("jmsallan/BAdatasetsSpatial")
Once you have installed the package, you can see what datasets are available at the moment typing in the R console:
data(package = "BAdatasetsSpatial")
To access the datasets:
library(BAdatasetsSpatial)