Identifying 4 ideal locations to hire or build Billboards to display services and emergency numbers, etc for cardiac care hospital client.
XYX cardiac care services is a service provider in the health care industry and has many different services under its umbrella. While the cardiac care has grown tremendously and it has a lot of services to offer, they have realized the need to be resourceful and available for any type of cardiac care whenever required. While they have created new and expanded cardiac services within all major cities, in Chennai they want to provide and be a leader for outstanding heart care and quality outcomes.
They want to display their services information and emergency contact numbers at prominent places which are ideal for the clients and customer demographics which is already enrolled or may be the next suitable client to utilize their services.
Decision Problem : Should we advertise to reach our target segment?
Research Objective:
Identify 4 strategic locations where hoardings can be placed to advertise the hospital details.
Define what entities or proxies are indicative of the presence of our target segment
We picked Chennai due to the high prevalence of Diabetes, which is one of the risk factor for Cardio vascular diseases. Along with this, the growing number of IT related companies being setup this area is pre-dominantly moving towards the white collar jobs. Finally we want to this city as the clients wish list where they want to more number of people to start utilizing their services.
Reference:
Here we give the brief of our search and selection criteria:
We are targetting individuals as our primary customers for the cardiac care. From these the wish-list is to identify and target
These category of people are most likely to utilize the cardiac care services in Chennai.
Out of these the upper middle class segments are most likely to use:
The high net worth individuals are most likely to use and frequent:
If we wanted to cross check with Organization, we would have targeted the following:
Basis the above lists identified, we short-listed the following Proxy entities within Google Maps to search:
Here is a brief summary of the data gleaning process:
library("RCurl")
library("jsonlite")
library("plotGoogleMaps")
library("geosphere")
Chennai: #13.0827° N, 80.2707° E
Example of extraction of list of Malls within 25 km of Chennai.
key = "AIzaSyCIsAa6qFbyca8ntlIjZTPedtGGAos-R8s"
url = paste0("https://maps.googleapis.com/maps/api/place/radarsearch/json?&query=???gas_station+in+chennai&types=???gas_station&location=13.0827,80.2707&radius=50000&key=",key)
doc <- getURL(url)
x <- jsonlite::fromJSON(doc)
gas_stations = x$results$geometry$location
head(gas_stations)
url = paste0("https://maps.googleapis.com/maps/api/place/radarsearch/json?&query=???bus_station+in+chennai&types=???bus_station&location=13.0827,80.2707&radius=50000&key=",key)
doc <- getURL(url)
x <- jsonlite::fromJSON(doc)
bus_stations = x$results$geometry$location
head(bus_stations)
url = paste0("https://maps.googleapis.com/maps/api/place/radarsearch/json?&query=grocery_or_supermarket+in+chennai&types=grocery_or_supermarket&location=13.0827,80.2707&radius=50000&key=",key)
doc <- getURL(url)
x <- jsonlite::fromJSON(doc)
grocers = x$results$geometry$location
head(grocers)
url = paste0("https://maps.googleapis.com/maps/api/place/radarsearch/json?&query=jewelry_store+in+chennai&types=jewelry_store&location=13.0827,80.2707&radius=50000&key=",key)
doc <- getURL(url)
x <- jsonlite::fromJSON(doc)
jewellers = x$results$geometry$location
head(jewellers)
gas_stations$type = "Gas Station"
bus_stations$type = "Bus Stations"
grocers$type = "Grocery or Supermarket"
jewellers$type = "Jewelry Store"
Combine the data
data = rbind(gas_stations,bus_stations,grocers,jewellers)
dim(data)All the entities data for Chennai are merged it into 1 file : `chennai_places.csv’
write.csv(data,"chennai_places.csv", row.names = F)
sample = gas_stations
coordinates(sample) <-~ lng +lat # Create cordinates
proj4string(sample) = CRS('+proj=longlat +datum=WGS84') # Add Projections
m<-mcGoogleMaps(sample,zcol = "type", mapTypeId='ROADMAP') # Plot on Google maps
sample = bus_stations
coordinates(sample) <-~ lng +lat # Create cordinates
proj4string(sample) = CRS('+proj=longlat +datum=WGS84') # Add Projections
m<-mcGoogleMaps(sample,zcol = "type", mapTypeId='ROADMAP') # Plot on Google maps
sample = jewellers
coordinates(sample) <-~ lng +lat # Create cordinates
proj4string(sample) = CRS('+proj=longlat +datum=WGS84') # Add Projections
m<-mcGoogleMaps(sample,zcol = "type", mapTypeId='ROADMAP') # Plot on Google maps
sample = grocers
coordinates(sample) <-~ lng +lat # Create cordinates
proj4string(sample) = CRS('+proj=longlat +datum=WGS84') # Add Projections
m<-mcGoogleMaps(sample,zcol = "type", mapTypeId='ROADMAP') # Plot on Google maps
# Get the coordinates
p2 = gas_stations[,1:2]
# calculate distances
dist_mat = matrix(0,nrow(p2),nrow(p2))
for (i in 1:nrow(p2)){
for (j in 1:nrow(p2)){
dist_mat[i,j] = distCosine(p2[i,],p2[j,], r=6378173)/1000
}
}
class(dist_mat)
dist_mat[1:10,1:10]
# Create clusters based in distances
fit <- hclust(as.dist(dist_mat), method="ward")
plot(fit) # display dendogram
groups <- cutree(fit, k=18) # cut tree into 18 clusters
# draw dendogram with red borders around the 18 clusters
rect.hclust(fit, k=18, border="red")
sample$group = groups # Assign cluster groups
# Plot stores with clustor as label
m <- mcGoogleMaps(sample, mapTypeId='ROADMAP', zcol="group")
sample = data
coordinates(sample) <-~ lng +lat # Create cordinates
proj4string(sample) = CRS('+proj=longlat +datum=WGS84') # Add Projections
m<-mcGoogleMaps(sample,zcol = "type", mapTypeId='ROADMAP') # Plot on Google maps
When we looked at the followingn 4 locations we were able to view a lot of the entities which we have identified. This shows that the number of footfalls within this area for our target audience would be high in these localities.
Gas Station on Uthamar Gandhi Road is in close proximity to Kanchi Kamkoti Childs Trust Hospital, GG Hospital, Taj Coromandel, Assumption Higher Secondary school, MOP Vaishnav College for Women, and Jewelry store and Grocery stores
Rajeev Gandhi Memorial Bus Station is also in close proximity to Dharma Ayurveda Medical College, St. Marys School, Annai Velankanni Church and Jumma Masjid
Junction where Prakasam Road and Usman Road intersect. This location is in the vicinity of many jewelry stores, Panagal Park, Restaurants, Fruit & Vegetable market and Silk showrooms
Near the Grocery store beside Kadambur Mariamman Marriage Hall. This location is in the vicinity of Adayar Ananda Bhavan Sweets, Holy Family Convent School, Our Lady of Lourdes Church, bus stop and train station