Create an instance of geoda-class by reading from an ESRI Shapefile dataset
Create an instance of geoda-class by reading from an ESRI Shapefile dataset.
geoda_open(ds_path)
ds_path
: (character) The path of the spatial datasetAn instance of geoda-class
## Not run: guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda") guerry <- geoda_open(guerry_path) guerry_df <- as.data.frame(guerry) # access as a data.frame head(guerry_df) ## End(Not run)
Useful links