mpjashby/crimemapping

Explain workflow for importing spatial vs non-spatial files containing spatial datasets

Closed this issue · 0 comments

Spatial: import with read_sf().

Non-spatial: import with appropriate function then convert to a spatial format with st_as_sf().

Important to stress that data imported with read_sf() should not be converted with st_as_sf(), since this can sometimes cause errors (unpredictably).