Skip to content

Commit

Permalink
Update legislative_support_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik-Brown01 committed Nov 28, 2023
1 parent bb1d81c commit 276ddc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/legislative_support_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
rows.append(row['fields'])
df = pd.DataFrame(rows)
# Load GeoJSONs
gdf_assembly = gpd.read_file("public/NYS_Assembly_Districts.geojson").to_csr("EPSG:4326")
gdf_senate = gpd.read_file("public/NYS_Senate_Districts.geojson").rename(columns={'DISTRICT':'District'}).to_csr("EPSG:4326")
gdf_assembly = gpd.read_file("public/NYS_Assembly_Districts.geojson").to_crs("EPSG:4326")
gdf_senate = gpd.read_file("public/NYS_Senate_Districts.geojson").rename(columns={'DISTRICT':'District'}).to_crs("EPSG:4326")

# Split your dataframe by house
df_assembly = df[df['House'] == 'Assembly']
Expand Down

0 comments on commit 276ddc0

Please sign in to comment.