Closed GoogleCodeExporter closed 9 years ago
It looks like the site itself is very slow to respond, with a query such as
http://www.uk-postcodes.com/postcode/CA143YJ.json taking about 4-5 secs to
return data. Given that, it would take about 50 hours to retrieve 45000 rows of
constituency data by my calculations. 4*45000/60/60 Perhaps the data can be
scraped better by going to government sources here ?
http://www.direct.gov.uk/en/Dl1/Directories/Localcouncils/AToZOfLocalCouncils/DG
_A-Z_LG
http://www.direct.gov.uk/en/Dl1/Directories/index.htm
Alternatively, perhaps you could ask someone on the ScraperWiki email list to
see if someone could finish up and add more data to their scraper which seems
to be a start of some of the data your looking for:
http://scraperwiki.com/scrapers/council_postcodes/
Original comment by thadguidry
on 3 May 2011 at 1:36
Thanks for your help. It looks like the ScraperWiki is a direct scrape from the
government link you posted, but unfortunately they only seem to have postcodes
of the council's physical offices, and not all postcodes covered by any one
office.
The only other source I could find which could give a local authority name for
any given postcode is http://mapit.mysociety.org/postcode/CA143YJ.html and this
gives the same type of data, but again I had a 1-hour wait before it gave up on
0% yesterday.
It's good to know that the hold-up isn't with Refine, it's with the third party
websites. My next attempt at a solution will be downloading the open source
data from Ordnance Survey and looking the info up straight into Excel
(http://www.ordnancesurvey.co.uk/oswebsite/products/os-opendata.html) - thanks
again and wish me luck.
Original comment by phi...@yahoo.com
on 4 May 2011 at 9:51
Closing, not a Refine problem.
Original comment by tfmorris
on 8 Oct 2011 at 7:33
Original issue reported on code.google.com by
phi...@yahoo.com
on 3 May 2011 at 10:51