PMI DEP code
As of Jan 11th, 2021, this repository has been archived.
- Enable both the soap and openssl PHP extensions in the php.ini file
- Create a file called
auth.php
in the base directory - Follow this template:
return (object) array(
'username' => 'USERNAME_HERE',
'password' => 'PASSWORD_HERE'
);
- Replace USERNAME_HERE and PASSWORD_HERE with appropriate values from the DEP account username/password.
- Run a script to download and ingest the data:
./process.sh
- Report on members by zip code:
sqlite3 latest_data < run_site_queries