Skip to content

Commit

Permalink
fixup! generate/import tearfund church data for all areas
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Apr 10, 2024
1 parent 5ddc741 commit 751e3a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hub/management/commands/generate_tearfund_churches_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class Command(BaseLatLonGeneratorCommand):
data_file = settings.BASE_DIR / "data" / "tearfund_churches.csv"
out_file = settings.BASE_DIR / "data" / "tearfund_churches_processed.csv"

row_name = "church"
uses_gss = True
uses_postcodes = True

def get_dataframe(self):
df = pd.read_csv(self.data_file, usecols=["Church / Organisation", "Address"])
# Remove first row, which just has the number of rows
Expand Down

0 comments on commit 751e3a6

Please sign in to comment.