powered by
Create an instance of geoda-class by reading from an ESRI Shapefile dataset.
geoda_open(ds_path)
An instance of geoda-class
(character) The path of the spatial dataset
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) }
Run the code above in your browser using DataLab