Skip to content

Lanwei02/LA-crime-data-analysis-using-Pig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LA-crime-data-analysis-using-Pig

In this project, I used sqoop to import crime data happened in 2016 from MySql to HDFS. The file import.sh contains the sqoop code. (I have changed the real username and password of the server for safety.)

pig_script.pig is the file of Pig Latin code. Before analyzing, I extracted the street name from address column and converted DateTime to month, day, week and daypart. After that, I created three reports which show:

    1. The street has the highest total count of crimes for each month;
    1. The street has the highest number of the unique crime for each month;
    1. The crime with the most MALE victims for each month.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published