Export#
# CSV
write.csv(st_drop_geometry(svi_output_cork), file.path(output_dir, "social_vulnerability_index_cork_2022.csv"), row.names = FALSE)
# GeoJSON
st_write(svi_output_cork, file.path(output_dir, "social_vulnerability_index_cork_2022.geojson"), delete_dsn=TRUE)
# Shapefile
st_write(svi_output_cork, file.path(output_dir, "social_vulnerability_index_cork_2022.shp"), append = FALSE)
Deleting source `../../3_outputs/Ireland/2022/Cork/social_vulnerability_index_cork_2022.geojson' using driver `GeoJSON'
Writing layer `social_vulnerability_index_cork_2022' to data source
`../../3_outputs/Ireland/2022/Cork/social_vulnerability_index_cork_2022.geojson' using driver `GeoJSON'
Writing 2206 features with 46 fields and geometry type Multi Polygon.
Warning message in abbreviate_shapefile_names(obj):
“Field names abbreviated for ESRI Shapefile driver”
Deleting layer `social_vulnerability_index_cork_2022' using driver `ESRI Shapefile'
Writing layer `social_vulnerability_index_cork_2022' to data source
`../../3_outputs/Ireland/2022/Cork/social_vulnerability_index_cork_2022.shp' using driver `ESRI Shapefile'
Writing 2206 features with 46 fields and geometry type Multi Polygon.
END
Social Vulnerability Ireland - Subet vulnerability results#
Environment#
R Libraries#
The relvant R libraries are imported in to the kernal:
Output directory#
Set the GUID#
Load Data#
Import the data#
Filter Data#