Create an instance of geoda-class by reading from an ESRI Shapefile dataset.

geoda_open(ds_path)

Arguments

ds_path

(character) The path of the spatial dataset

Value

An instance of geoda-class

Examples

if (FALSE) { # \dontrun{
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)
} # }