A simple Web App to check the SIMD(Scottish Index of Multiple Deprivation) by post code or (part of) an address.
To make it work for you, you will need:
- A PHP server
- A MySQL server
- A Google API key, which has the following APIs enabled:
- Distance Matrix API
- Geocoding API
- Places API
- Clone the whole project into the htdoc folder (or public_html folder)
- Create a MySQL database named as "simd" and import the simd.sql file into it.
- In the project main route, create a file named as apikey.txt, copy and paste your API Key inside it.
- Edit classes/dbh.php according to your MySQL settings
- Visit index.html via the PHP server. (e.g. If you are hosting it in your local machine, the path would likely be http://localhost/simdChecker)
- Input a post code or (part of) an address in Scotland in the coresponding field
- Click the submit button
- Click to view individual distance of each Point of Interest
- Improve Error Handling
Front End by @adalaw
Back End by @kaitockt
APIs:
Data Source: Government of Scotland - Scottish Index of Multiple Deprivation 2020
Under the Open Governmnet Licence