Sfoglia il codice sorgente

Update tags and README

tags/v0.4.5
Adrian Short 6 anni fa
parent
commit
29f2c2a885
2 ha cambiato i file con 15 aggiunte e 10 eliminazioni
  1. +11
    -6
      README.md
  2. +4
    -4
      lib/uk_planning_scraper/authorities.csv

+ 11
- 6
README.md Vedi File

@@ -129,16 +129,21 @@ and whatever you'd like to add that would be useful to others.

### WTF is up with London?

London has got 32 London Boroughs, tagged `londonboroughs`.
London has got 32 London Boroughs, tagged `londonboroughs`. These are the councils under the authority of the Mayor of London and the Greater London Authority.

It has 33 councils: the London Boroughs plus the City of London (named `City of London`).
It has 33 councils: the London Boroughs plus the City of London (named `City of London`). We don't currently have a tag for this, but if you want to add `londoncouncils` please go ahead.

And it's got 35 local planning authorities: the 33 councils plus the two `developmentcorporations`, named `London Legacy Development Corporation` and `Old Oak and Park Royal Development Corporation`.

The tag `london` covers all (and only) the 35 local planning authorities in London. If you want to scope to all planning applications in London, use:
And it's got 35 local planning authorities: the 33 councils plus the two `londondevelopmentcorporations`, named `London Legacy Development Corporation` and `Old Oak and Park Royal Development Corporation`. The tag `london` covers all (and only) the 35 local planning authorities in London.

```ruby
auths = UKPlanningScraper::Authority.tagged('london')
UKPlanningScraper::Authority.tagged('londonboroughs').size
=> 32
UKPlanningScraper::Authority.tagged('londondevelopmentcorporations').size
=> 2

UKPlanningScraper::Authority.tagged('london').size
=> 35
```

### More fun with Authority tags


+ 4
- 4
lib/uk_planning_scraper/authorities.csv Vedi File

@@ -21,17 +21,17 @@ Kensington and Chelsea,https://www.rbkc.gov.uk/planning/searches/default.aspx?ad
Kingston upon Thames,https://maps.kingston.gov.uk/propertyServices/planning/Search,unknownsystem,london,londonboroughs
Lambeth,https://planning.lambeth.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london
Lewisham,http://planning.lewisham.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london
London Legacy Development Corporation,http://planningregister.londonlegacy.co.uk/swift/apas/run/wphappcriteria.display,london,agileplanning,developmentcorporations
London Legacy Development Corporation,http://planningregister.londonlegacy.co.uk/swift/apas/run/wphappcriteria.display,london,agileplanning,developmentcorporations,londondevelopmentcorporations
Merton,http://planning.merton.gov.uk/Northgate/PlanningExplorerAA/GeneralSearch.aspx,london,outerlondon,southlondon,england,northgate,londonboroughs
Newham,https://pa.newham.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london,idox,londonboroughs
Old Oak and Park Royal Development Corporation,http://planningregister.opdc.london.gov.uk/swift/apas/run/wphappcriteria.display,london,agileplanning,developmentcorporations
Old Oak and Park Royal Development Corporation,http://planningregister.opdc.london.gov.uk/swift/apas/run/wphappcriteria.display,london,agileplanning,developmentcorporations,londondevelopmentcorporations
Redbridge,http://planning.redbridge.gov.uk/swiftlg/apas/run/wphappcriteria.display,agileplanning,london,londonboroughs
Richmond,http://www2.richmond.gov.uk/PlanData2/Planning_Report.aspx,unknownsystem,london,londonboroughs
Southwark,https://planning.southwark.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london
Sutton,https://planningregister.sutton.gov.uk/online-applications/search.do?action=advanced,london,outerlondon,southlondon,england
Sutton,https://planningregister.sutton.gov.uk/online-applications/search.do?action=advanced,london,londonboroughs,outerlondon,southlondon,england
Tower Hamlets,https://development.towerhamlets.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london
Waltham Forest,http://planning.walthamforest.gov.uk/application-search?civica.query.ReceivedDateFrom=20%2F05%2F2018&civica.query.ReceivedDateTo=26%2F05%2F2018,unknownsystem,london,londonboroughs
Wandsworth,https://planning1.wandsworth.gov.uk/Northgate/PlanningExplorer/GeneralSearch.aspx,london,innerlondon,southlondon,englan
Wandsworth,https://planning1.wandsworth.gov.uk/Northgate/PlanningExplorer/GeneralSearch.aspx,london,innerlondon,southlondon,england,londonboroughs
Westminster,http://idoxpa.westminster.gov.uk/online-applications/search.do?action=advanced,londonboroughs,london
Bristol,https://planningonline.bristol.gov.uk/online-applications/search.do?action=advanced
Salford,http://publicaccess.salford.gov.uk/publicaccess/search.do?action=advanced


Caricamento…
Annulla
Salva