UK-IPOP / open-data-pipeline

A pipeline for processing, enhancing, and sharing open datasets.
https://uk-ipop.github.io/open-data-pipeline/
GNU General Public License v3.0
1 stars 0 forks source link

Handle empty geo-dataframe gracefully #10

Closed nanthony007 closed 1 year ago

nanthony007 commented 1 year ago

This PR will gracefully handle if the geo_df filtering returns and empty dataframe by not logging about empty data and not writing and empty dataframe to file.

This also solves the issue of having empty geo-related fields at the end of datasets that don't have geospatial information.

This resolves #4

nanthony007 commented 1 year ago

LGTM