Skip to content

Laravel-based version of the goc-spending scraping and parsing tool, to analyze "Proactive Disclosure" data across Canadian federal departments.

Notifications You must be signed in to change notification settings

rsaavy/goc-spending-laravel

 
 

Repository files navigation

goc-spending-laravel

Work-in-progress code to scrape and then parse contracting data from departments' Proactive Disclosure website. Uses the Laravel framework. Based on previous work in goc-spending-mini.

Dependencies

Requires an environment that can run the latest version of the Laravel Framework. The Homestead environment works well.

First-run setup

  1. Clone the repository
  2. Go to the new folder, and run composer install. This will download any Laravel and project-specific dependencies.
  3. Create a copy of .env.example and name it .env. This will allow you to customize any settings on a per-installation basis.
  4. ???
  5. Profit!

We have a set of Artisan commands available, under the department namespace. (Run php artisan help department: to get a complete list.) To run them, you’ll need a department acronym—you can see the full list of supported departments by checking the app/DepartmentHandlers/ folder. Example usage, for Environment Canada:

php artisan department:fetch ec
php artisan department:parse ec

Or, running the fetch and parse in one go:

php artisan department:run ec

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

Laravel-based version of the goc-spending scraping and parsing tool, to analyze "Proactive Disclosure" data across Canadian federal departments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.4%
  • HTML 0.6%