f <- system.file("extdata/sst_c.fgb", package = "vapour")
## create a class-less form of the data in the 'sst_c.fgb' file with GeoJSON geometry
atts <- vapour_read_fields(f)
dat <- as.data.frame(atts, stringsAsFactors = FALSE)
dat[["json"]] <- vapour_read_geometry_text(f)
names(dat)
names(sst_c)
Run the code above in your browser using DataLab