{"id":24956668,"url":"https://github.com/saroshfarhan/world_crime_record_data_analysis","last_synced_at":"2026-01-07T09:14:10.880Z","repository":{"id":274676332,"uuid":"923700438","full_name":"saroshfarhan/World_crime_record_data_analysis","owner":"saroshfarhan","description":"World Crime record 2022 data analysis as part of my assignment in UCD","archived":false,"fork":false,"pushed_at":"2025-01-28T17:59:11.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T18:35:56.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saroshfarhan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-28T17:49:31.000Z","updated_at":"2025-01-28T17:59:14.000Z","dependencies_parsed_at":"2025-01-28T18:46:58.181Z","dependency_job_id":null,"html_url":"https://github.com/saroshfarhan/World_crime_record_data_analysis","commit_stats":null,"previous_names":["saroshfarhan/world_crime_record_data_analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saroshfarhan%2FWorld_crime_record_data_analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saroshfarhan%2FWorld_crime_record_data_analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saroshfarhan%2FWorld_crime_record_data_analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saroshfarhan%2FWorld_crime_record_data_analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saroshfarhan","download_url":"https://codeload.github.com/saroshfarhan/World_crime_record_data_analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100317,"owners_count":20723466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-03T06:40:42.246Z","updated_at":"2026-01-07T09:14:10.833Z","avatar_url":"https://github.com/saroshfarhan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cimg width=\"824\" alt=\"Screenshot 2025-01-28 at 5 56 40 PM\" src=\"https://github.com/user-attachments/assets/4a647809-76ab-40f0-82e3-b04c08c04bb2\" /\u003e\n\n# Conclusion of the analysis\n\nWith the given data and the analysis:\n\n-   I cleaned it first by importing the data. I then changed the name of the first column to \"Country\" so that I can read the data and make it work.\n\n-   I then removed the columns that were redundant.\n\n-   I then added NA values for missing data.\n\n-   I then removed the countries with missing data, the data was removed such that there were no missing values.\n\n-   I then added a new column that summed up data for all columns(offences) and added it to *Total offences* column, for this I first converted all columns from *chr* to *dbl* and then summed it up using *rowSums()*\n\n-   I then produced a table showing country names and record of participation in organized crimes. The table shows data in decreasing order with 1 decimal place.\n\n-   I then produced the country name that has the highest participation in organized criminal group, the country was found to be *Spain*.\n\n-   I then created a scatter plot displaying relationship between *Robbery* and *Unlawful acts involving controlled drugs or precursors* columns.\n\n-   I found out something different from that data that *Spain* had highest number of cases in participation of organized crimes yet it had the least corruption.\n\n-   I then plot a correlation matrix to find some other relations in the offences.\n\n-   I found that there is a positive correlation between *Corruption* and *Attempted intentional homicide,* which makes sense as corruption in governance increases the chances of law and order going down increases which can be seen in the number of attempts in homicides.\n\n-   To confirm my suspicion I also fit the model using *lm()* and found the Std Error to be small (*0.016*) which supported the positive co-linearity which was found in the correlation plot.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaroshfarhan%2Fworld_crime_record_data_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaroshfarhan%2Fworld_crime_record_data_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaroshfarhan%2Fworld_crime_record_data_analysis/lists"}