Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canada: URL scrapers #25

Closed
10 tasks
jpmckinney opened this issue Oct 14, 2013 · 1 comment
Closed
10 tasks

Canada: URL scrapers #25

jpmckinney opened this issue Oct 14, 2013 · 1 comment

Comments

@jpmckinney
Copy link
Member

I have a very complex script that scrapes URLs of municipalities across Canada from the FCM's website, and matches them to a census subdivision according to their name and province. It produces this file.

There are other sources of URLs, such as CivicInfoBC. I wouldn't base myself off the script I'd written, and instead just start by trying to do straight name matching against the list of census subdivisions for BC (just limit to those whose code starts with "59" to get only BC). There are only a few subdivisions with the same name in BC, in which case you need to match on name plus type.

  • Langley
  • North Vancouver
  • Esquimalt
  • Sechelt
  • Okanagan 1
  • Alert Bay

If this works, we can add others for other provinces. To do for each scraper:

  • Check correctness of URLs (factor out relevant code from FCM scraper)
  • Check overlap with FCM URLs: If total overlap, skip relevant province/territory in FCM scraper

Data sources:

@jpmckinney
Copy link
Member Author

No demand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant