Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Counties & Towns data in Website

  • 27-03-2019 10:49AM
    #1
    Registered Users, Registered Users 2 Posts: 28


    Where can I get the data of Counties & Towns (like in daft.ie etc)to add in my website?


Comments

  • Registered Users, Registered Users 2 Posts: 6,613 ✭✭✭daymobrew


    Decent number here: https://www.citypopulation.de/php/ireland.php

    Or scrape them from daft.ie


  • Registered Users, Registered Users 2 Posts: 2,660 ✭✭✭Baz_


    From a search on Google using carefully selected words I found a few promising resources. That's really where your search should have started and ended...


  • Registered Users, Registered Users 2 Posts: 3,205 ✭✭✭cruizer101


    Whats the ultimate purpose? Depending on that you may want to use different sources.
    CSO and Eircode database might be worth a look


  • Banned (with Prison Access) Posts: 172 ✭✭devlinio


    I scraped off various sites using R about a year ago. I don't think I have the script still, but it's work a look


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    It'd be helpful to get a clearer view of which data you want.

    Also be very careful about scraping data from other people's sites - unless they've made the data available under a creative commons / GPL etc., license then they won't be too impressed with you. It's essentially copyright infringement.


  • Advertisement
  • Banned (with Prison Access) Posts: 172 ✭✭devlinio


    mneylon wrote: »
    It'd be helpful to get a clearer view of which data you want.

    Also be very careful about scraping data from other people's sites - unless they've made the data available under a creative commons / GPL etc., license then they won't be too impressed with you. It's essentially copyright infringement.

    It's counties and towns. No website as a devine right to that information.


  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    devlinio wrote: »
    It's counties and towns. No website as a devine right to that information.

    If it's just a list of them - sure, though "scraping" as a general rule is a bad idea.
    But the OP hasn't specified if that's all they're looking for.


  • Registered Users, Registered Users 2 Posts: 361 ✭✭SharpCoder


    Mayoman007 wrote: »
    Where can I get the data of Counties & Towns (like in daft.ie etc)to add in my website?

    Since This data is static (aka counties and towns don't change often if at all), it's likely the likes of daft.ie has either made their own JSON/Rest based API to get that information or they have it in a Database that's queried on a change event on the dropdown via JS/Ajax most likely.

    Example of JSON data is @ https://simplemaps.com/static/data/country-cities/ie/ie.json


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D




Advertisement