import geopandas as gpd

File downloaded from https://data.brno.cz/datasets/mestobrno::nehody-s-účastí-chodců-pedestrian-accidents/about

df = gpd.read_file("brno_pedestrian_accidents.geojson")
df = df.drop(columns=['OBJECTID', 'id', 'datum', 'hodina', 'POINT_X', "POINT_Y", "GlobalID", "geometry"])
df = df.dropna(subset=["d", "e"])
df = df.set_geometry(gpd.points_from_xy(df["d"], df["e"], crs=5514)).drop(columns=["d", "e"])
df.to_file("../../point_patterns/data/brno_pedestrian_accidents.gpkg")