GET STARTED

You'll receive the case study on your business email shortly after submitting the form.

Home Blog

Scrape Listing Data of Michelin-Star Restaurants in Singapore

Scrape-Listing-Data-of-Michelin-Star-Restaurants-in-Singapore.jpg

Scrape Listing Data of Michelin-Star Restaurants in Singapore

In this blog, we will practice web data scraping by scraping names, addresses, cuisine types, and star ratings of Michelin-Star restaurants in Singapore to know cuisine-type distribution and geolocations.

There isn’t a single website that effortlessly contains both; therefore, we recognized a news website with an address and an official Michelin website having cuisine types. We have used rvest and selector gadgets to gather data and made some cleaning, like a minority of lessons get prearranged with various CSS ids in a frame, and cuisine types comprise both Chinese and English words.

Then we used BatchGeo to get geocoding using addresses that are somewhat accurate and conveniently offer a map, excluding it isn’t apparent whether it offers latitude or longitude data in the output.

Then-we-used-BatchGeo

They are mainly centrally positioned in about 3 clusters:

From Tanjong Pagar to City Hall (city center)

Within the Botanic or Orchard Gardens area (touristy/shopping area)

3 within Sentosa, one each from 1-star (named Osia), 2-star (named L’Atelier de Joel Robuchon), and 3-star (named Joel Robuchon), all are touristy or rich residential areas

within-Sentosa

In the next step, we can match restaurant names (different spellings) from any two sources to get cuisine type, group them through geographical districts and recognize distances to various residential areas.

hank-you-for-reading.png

You can find the scraped data here. Thank you for reading this blog. You can always contact Food Data Scrape for more information or all food data scraping service requirements.

GeoIp2\Model\City Object
(
    [continent] => GeoIp2\Record\Continent Object
        (
            [name] => North America
            [names] => Array
                (
                    [de] => Nordamerika
                    [en] => North America
                    [es] => Norteamérica
                    [fr] => Amérique du Nord
                    [ja] => 北アメリカ
                    [pt-BR] => América do Norte
                    [ru] => Северная Америка
                    [zh-CN] => 北美洲
                )

            [code] => NA
            [geonameId] => 6255149
        )

    [country] => GeoIp2\Record\Country Object
        (
            [name] => United States
            [names] => Array
                (
                    [de] => USA
                    [en] => United States
                    [es] => Estados Unidos
                    [fr] => États Unis
                    [ja] => アメリカ
                    [pt-BR] => EUA
                    [ru] => США
                    [zh-CN] => 美国
                )

            [confidence] => 
            [geonameId] => 6252001
            [isInEuropeanUnion] => 
            [isoCode] => US
        )

    [maxmind] => GeoIp2\Record\MaxMind Object
        (
            [queriesRemaining] => 
        )

    [registeredCountry] => GeoIp2\Record\Country Object
        (
            [name] => United States
            [names] => Array
                (
                    [de] => USA
                    [en] => United States
                    [es] => Estados Unidos
                    [fr] => États Unis
                    [ja] => アメリカ
                    [pt-BR] => EUA
                    [ru] => США
                    [zh-CN] => 美国
                )

            [confidence] => 
            [geonameId] => 6252001
            [isInEuropeanUnion] => 
            [isoCode] => US
        )

    [representedCountry] => GeoIp2\Record\RepresentedCountry Object
        (
            [name] => 
            [names] => Array
                (
                )

            [confidence] => 
            [geonameId] => 
            [isInEuropeanUnion] => 
            [isoCode] => 
            [type] => 
        )

    [traits] => GeoIp2\Record\Traits Object
        (
            [autonomousSystemNumber] => 
            [autonomousSystemOrganization] => 
            [connectionType] => 
            [domain] => 
            [ipAddress] => 216.73.216.170
            [isAnonymous] => 
            [isAnonymousVpn] => 
            [isAnycast] => 
            [isHostingProvider] => 
            [isLegitimateProxy] => 
            [isPublicProxy] => 
            [isResidentialProxy] => 
            [isTorExitNode] => 
            [isp] => 
            [mobileCountryCode] => 
            [mobileNetworkCode] => 
            [network] => 216.73.216.0/22
            [organization] => 
            [staticIpScore] => 
            [userCount] => 
            [userType] => 
        )

    [city] => GeoIp2\Record\City Object
        (
            [name] => Columbus
            [names] => Array
                (
                    [de] => Columbus
                    [en] => Columbus
                    [es] => Columbus
                    [fr] => Columbus
                    [ja] => コロンバス
                    [pt-BR] => Columbus
                    [ru] => Колумбус
                    [zh-CN] => 哥伦布
                )

            [confidence] => 
            [geonameId] => 4509177
        )

    [location] => GeoIp2\Record\Location Object
        (
            [averageIncome] => 
            [accuracyRadius] => 20
            [latitude] => 39.9625
            [longitude] => -83.0061
            [metroCode] => 535
            [populationDensity] => 
            [timeZone] => America/New_York
        )

    [mostSpecificSubdivision] => GeoIp2\Record\Subdivision Object
        (
            [name] => Ohio
            [names] => Array
                (
                    [de] => Ohio
                    [en] => Ohio
                    [es] => Ohio
                    [fr] => Ohio
                    [ja] => オハイオ州
                    [pt-BR] => Ohio
                    [ru] => Огайо
                    [zh-CN] => 俄亥俄州
                )

            [confidence] => 
            [geonameId] => 5165418
            [isoCode] => OH
        )

    [postal] => GeoIp2\Record\Postal Object
        (
            [code] => 43215
            [confidence] => 
        )

    [subdivisions] => Array
        (
            [0] => GeoIp2\Record\Subdivision Object
                (
                    [name] => Ohio
                    [names] => Array
                        (
                            [de] => Ohio
                            [en] => Ohio
                            [es] => Ohio
                            [fr] => Ohio
                            [ja] => オハイオ州
                            [pt-BR] => Ohio
                            [ru] => Огайо
                            [zh-CN] => 俄亥俄州
                        )

                    [confidence] => 
                    [geonameId] => 5165418
                    [isoCode] => OH
                )

        )

)
 country : United States
 city : Columbus
US
Array
(
    [as_domain] => amazon.com
    [as_name] => Amazon.com, Inc.
    [asn] => AS16509
    [continent] => North America
    [continent_code] => NA
    [country] => United States
    [country_code] => US
)

Get in touch

We will Catch You as early as we recevie the massage

Trusted by Experts in the Food, Grocery, and Liquor Industry
assets/img/clients/deliveroo-logo.png
assets/img/top-food-items-inner/logos/Instacart_logo_and_wordmark.svg
assets/img/top-food-items-inner/logos/total_wine.svg
assets/img/clients/i-food-logo-02.png
assets/img/top-food-items-inner/logos/Zepto_Logo.svg
assets/img/top-food-items-inner/logos/saucey-seeklogo.svg
+1