Skip to content

Script for importing street level crime data for Bath & North East Somerset into Socrata, pulled from data.police.uk

Notifications You must be signed in to change notification settings

BathHacked/banes-police-crimes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

banes-police-crimes

Script for importing street level crime data for Bath & North East Somerset into Socrata, pulled from data.police.uk

Accessing the data

Drop in your credentials for the following at the top of the index.php file:

  • root_url - Your Socrata datastore root URL
  • app_token - You can get this by creating a new app in your Socrata profile
  • database_id - This is the 8-character code at the end of your dataset URL. It should be in the format XXXX-XXXX
  • email - This is your Socrata username, mostly likely an email address
  • password - Your Socrata password

Now run the file. An output of all months imported into Socrata will show along with a 'Done!' message when completed.

About

Script for importing street level crime data for Bath & North East Somerset into Socrata, pulled from data.police.uk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages