Skip to content

Planning applications from all 6 Liverpool City Region local planning authorities (bar Halton at the moment)

Notifications You must be signed in to change notification settings

Liverpool-UK/lcr_planning_applications

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a scraper that runs on Morph. To get started see the documentation

Environment Variables

The code expects (up to) two envirvonment variables to be set to run properly:

  • MORPH_DAYS How far back to look for new planning applications
  • MORPH_POSTCODE_GEOCODE_COUNT How many new postcodes it should attempt to geocode each time the scraper runs. This is used to populate the neighbourhood_latitude and neighbourhood_longitude columns in the database, which provide a rough location of the planning application. You should aim to make the number higher than the number of new applications each day, but not too high so you aren't hammering the postcodes.io API. A few hundred seems a sensible option.

Tools

  • To geocode the planning application locations we need to find the postcode. rake find_postcodes db=name-of-your-planning-apps-database | sort | uniq

About

Planning applications from all 6 Liverpool City Region local planning authorities (bar Halton at the moment)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%