R/read_geoda.R
geoda_open.Rd
Create an instance of geoda-class by reading from an ESRI Shapefile dataset.
geoda_open(ds_path)
(character) The path of the spatial dataset
An instance of geoda-class
if (FALSE) {
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)
}