Implement conditional when pulling tables from GISLibrary
import_from_gis() now pulls the query table column information and checks for any "geometry" data types.
If there is a geometry column, pull table and return as sf object.
If there is no geometry, pull table and return as data frame.
This fix isn't absolutely necessary - we could just update the documentation to show an example of pulling a non-spatial table using gis_connection().
Implement conditional when pulling tables from GISLibrary
import_from_gis()
now pulls the query table column information and checks for any "geometry" data types. If there is a geometry column, pull table and return as sf object. If there is no geometry, pull table and return as data frame.This fix isn't absolutely necessary - we could just update the documentation to show an example of pulling a non-spatial table using
gis_connection()
.Additional changes
Closes #70
Remedied reprex
Created on 2023-12-22 with reprex v2.0.2