Skip to content

kevanwee/crimewatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ•΅οΈ CrimeWatch

CrimeWatch is a tool that produces a heatmap of criminal cases with reported judgments as found on eLitigation. It scrapes data from the site using BeautifulSoup and processes it for analysis.

🚧 Status

CrimeWatch is currently in development.

  • βœ… Web scraper is built
  • ❌ Heatmap feature is not functional yet

πŸ“₯ Installation

To run CrimeWatch, install the required dependencies:

pip install pandas requests beautifulsoup4 ftfy spacy

and run:

python crimewatcher.py

πŸ” Data Retrieval

The scraper currently retrieves the following fields:

  • πŸ†” CaseIdentifier
  • βš–οΈ Charges
  • πŸ“ Locations
  • πŸ”‘ Offence Category
  • πŸ“… Year
  • πŸ”— URL

πŸš€ Usage

Once installed, you can run the scraper to fetch case data. The heatmap visualization is not yet available.

🀝 Contributing

CrimeWatch is a work in progress. Contributions are welcome, especially for improving data visualization and refining scraped data.

πŸ“œ License

This project is open-source under the MIT License.

About

(work in progress) heatmap based on locations mentioned in singapore criminal law judgments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages