Skip to content
forked from andry-dev/air

Big Data Computing project for Accidents In Rome

License

Notifications You must be signed in to change notification settings

MatteoGioia/air

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Accidents In Rome

Requirements

Datasets are needed to run the notebook. You can either download them from Roma Open Data's site and then run the preprocessing script. Otherwise download a pre-processed ready for use version from the Releases page of this repository.

For running the scripts and the notebook you need a Python 3.9+ installation with Pandas and a container runtime like Docker or Podman.

Preprocessing data

Since many rows in the accidents don't have a coordinate but just a street name, we need to obtain the coordinates ("geocoding") by running a Nominatim instance. To do so please run the following:

# Run Nominatim
./scripts/run-nominatim.sh

# Do the pre-processing
./scripts/preprocessing.py datasets/raw

Running the notebook

From the root directory:

./scripts/run-jupyter.sh

References

About

Big Data Computing project for Accidents In Rome

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.7%
  • Other 0.3%