Helpers for data loaded from http://stat.gibdd.ru
| Before | After |
|---|---|
address_coordinate_cleaning.py - replace coordinates of accident by address coordinates (with help of Yandex Geocoder).
addresses_to_street_projection.py - project coordinates of address to the nearest street.
For address_coordinate_cleaning.py:
- pandas
- yandex_geocoder
- tqdm
For addresses_to_street_projection.py:
- pandas
- numpy
- osmnx
- networkx
- shapely
- tqdm
Fix fields in scripts (csv_path and city) for running.
addresses_to_street_projection.pyfailed with errorConnection refused- turn on VPN for loading of graph of streets.