Introduction
介绍
The Background
的背景
Brazil is known for Rio de Janeiro or São Paulo. But one of the most southern states os Brazil has a peculiar capital on an island. Or most of the capital is on this island. I’m talking about Florianópolis.
巴西以里约热内卢或圣保罗闻名。 但是,巴西最南部的州之一在岛上拥有独特的首都。 或大部分首都都在这个岛上。 我说的是弗洛里亚诺波利斯。
Different from the idyllic idea of an island (rounded), the “Isle of Saint Catherine” is actually…lengthy. The north shore and the south shore are 54 km distant (approximately 33 miles).
与岛屿的田园风格(四舍五入)不同,“圣凯瑟琳岛”实际上……很长。 北岸和南岸相距54公里(约33英里)。
The connection of this island with the main continent is near, with bridges in only one point and almost in the center of the island.
这个岛屿与主要大陆之间的连接近在咫尺,桥只有一点且几乎位于岛屿的中心。
The center of the island is a big city, with everything a city has: big buildings, stores, traffic. But some places are very calm, allowing an “easy-going” life with beautiful beaches.
岛的中心是一个大城市,城市拥有的一切:大型建筑物,商店,交通。 但是有些地方非常安静,可以在美丽的海滩上过上轻松自在的生活。
In the summer, lots of tourists go to enjoy the beaches, transforming this calm place in a crowded happy summer space. But to establish a business in the north shore, this movement through the year means a nightmare. Sometimes, being open during summer doesn’t mean being open during winter.
在夏天,许多游客去享受海滩,在一个拥挤的快乐夏日空间中改变了这个宁静的地方。 但是,要在北岸开展业务,这一年的运动意味着一场噩梦。 有时,夏季开放并不意味着冬季开放。
People who live in north shore complain about poor options for basic needs as a supermarket or a bakery. Distant from the downtown in the center of the island, this is a big problem.
住在北岸的人们抱怨超市或面包店不能满足基本需求。 远离岛中心的市中心,这是一个大问题。
The challenge
挑战
So, I decided to analyze the Foursquare data to find what and where a new business could reach the population needs. The idea is to make a great data-driven analysis of new possibilities for business and people.
因此,我决定分析Foursquare数据,以查找新业务可以满足哪些人群需求以及在何处满足人群需求。 这个想法是对企业和人员的新可能性进行出色的数据驱动分析。
Data and how I will solve the problem
数据以及我将如何解决问题
I’ll collect the data of the venues from the neighbors of Jurerê, Canasvieiras, Cachoeira do Bom Jesus, and Ponta das Canas from Foursquare. I’ll categorize from the type, plotting a map to understand the different needs.
我将从Foursquare的Jurerê,Canasvieiras,Cachoeira do Bom Jesus和Ponta das Canas的邻居那里收集场地数据。 我将根据类型进行分类,绘制地图以了解不同的需求。
I’ll cluster those venues based on the kind and proximity, to conclude what is the business that already covers a good proportion of the space in those neighbors.
我将根据种类和邻近度对这些场所进行聚类,以得出在这些邻居中已经占据很大一部分空间的业务。
I’ll also cluster the neighbors, to identify those who don’t have a uniform number of different venues.
我还将聚集邻居,以识别那些没有相同数量的不同地点的人。
In the end, I’ll list the categories of venues and places that will be differential in each neighbor, as a way to help anyone who whats to start a new business.
最后,我将列出在每个邻居中会有所不同的场所和地点的类别,以帮助任何有意开展新业务的人。
Who will be interested in this project?
谁会对这个项目感兴趣?
People who want to open a new business on the north shore of Florianópolis, Brazil.
想要在巴西弗洛里亚诺波利斯北岸开设新业务的人。
People who live on the north shore of Florianópolis and want to know more about the options of business in the neighborhood.
住在弗洛里亚诺波利斯北岸的人们,想进一步了解附近的商业选择。
Methodology
方法
The choice is the Quantitative Methods.
选择是定量方法。
How I got the data
我如何获得数据
Using some popular Python libraries, I started defining my neighborhoods to analyze: Jurerê Leste, Jurerê Oeste, Canasvieiras, Cachoeira do Bom Jesus, and Ponta das Canas.
使用一些流行的Python库,我开始定义我的邻域进行分析:JurerêLeste,JurerêOeste,Canasvieiras,Cachoeira do Bom Jesus和Ponta das Canas。
I got the geocodes with a function that could reach the ArcGIS services. With this information, I built a dataframe. To understand if my geocodes were right, I tested plotting a map.
我获得了具有可以到达ArcGIS服务的功能的地理编码。 有了这些信息,我就建立了一个数据框。 为了了解我的地理编码是否正确,我测试了绘制地图。
Image by author — Folium Plot 图片由作者提供— Folium PlotTaking sure all was alright, I move on to the collect Foursquare data, using the Foursquare API. I normalize the data in a JSON, used a Pandas function to get the category type os the venues presented, and make every adjustment needed to get a dataframe with the neighborhood, the name of the venue, the category, and also de the geo positions.
确保一切正常,我继续使用Foursquare API收集Foursquare数据。 我将数据标准化为JSON,使用Pandas函数获取所显示场地的类别类型,并进行所有必要的调整,以获取具有邻域,场地名称,类别以及地理位置的数据框。
The first analysis showed the need for adjustments. So I got the unique values of the columns categories, dropping some that weren’t relevant for the purpose of the study, as “beach”, “resort” and “residential building”.
首次分析表明需要进行调整。 因此,我获得了列类别的唯一值,并删除了与研究目的无关的一些内容,例如“海滩”,“度假”和“住宅建筑”。
Plotting a map, this was the new look:
绘制地图,这是新外观:
Image by author — Folium Plot 图片由作者提供— Folium PlotI wasn’t happy with the categories. Even describing the business, some of them were clearly too detailed, which made it difficult to visualize the necessities of the neighborhoods. So I created “classes”, a way to understand the kind of the categories, a “macro” category. They were: “Bar/Restaurant”, “Pharmacy”, “Entertainment”, “Fitness”, “Bakery”, “Nightlife”, “Store”, “Café/Snacks”, “Market”, “Pet” and “Lottery”.
我对类别不满意。 即使描述了业务,但其中一些显然太详细了,这使得很难形象地反映出社区的必要性。 因此,我创建了“类”,这是一种理解类别的方法,即“宏观”类别。 它们是:“酒吧/餐厅”,“药房”,“娱乐”,“健身”,“面包店”,“夜生活”,“商店”,“咖啡厅/小吃”,“市场”,“宠物”和“彩票” 。
The Analysis
分析
I got those data in different kinds of dataframes to plot and understand the information. I decided to plot a horizontal bar chart to visualize what was the main kinds of business in each neighborhood.
我在不同种类的数据框中获得了这些数据,以绘制和理解信息。 我决定绘制水平条形图,以可视化每个社区的主要业务。
Image by author 图片作者Also with this dataframe format:
同样使用此数据框格式:
Image by author 图片作者At this point, I noticed one important thing: not all the neighborhoods have a business in all the categories. I needed to add to the dataframe some rows that represented the categories with “0” businesses.
在这一点上,我注意到了一件重要的事情:并非所有社区都拥有所有类别的业务。 我需要在数据框中添加一些行,这些行代表“ 0”业务类别。
I created a function that scanned all the categories each neighborhood had and gave me the information on what are the categories that were missing in each neighborhood.
我创建了一个功能,可以扫描每个邻域具有的所有类别,并提供有关每个邻域中缺少哪些类别的信息。
After adding all the “0” categories in each neighborhood dataframe, I moved to look close to the neighborhoods.
在每个邻域数据框中添加所有“ 0”类别后,我移动到靠近邻域的位置。
I started to plot new charts for each neighborhood, comparing with the closest neighbor.
我开始绘制每个邻居的新图表,并与最近的邻居进行比较。
Jurerê Leste
JurerêLeste
Image by author 图片作者Jurerê Leste is known as “Traditional Jurerê” — with lots of homes, this is a place to relax. The next neighborhood, Jurerê Oeste, is known as a “chic place”, full of rich homes and some nightclubs. But still being a tourist destination, the restaurants are the trend.
JurerêLeste被称为“传统Jurerê”,这里有很多房屋,是一个放松的地方。 下一个街区JurerêOeste被称为“时尚之地”,到处都是豪宅和一些夜总会。 但仍然是旅游胜地,餐厅是潮流。
Jurerê Oeste
JurerêOeste
Image by author 图片作者Seems the same? But is not! Jurerê Oeste, the chic and rich neighbor, shows almost the same number of restaurants (again, tourist destination!), but you can see the rich nightlife and some stores. Almost the same, but with clear biases showed by the kinds of venues.
看起来一样吗? 但是不是! 时尚且富裕的邻居JurerêOeste展示的餐馆数量几乎相同(再次是旅游胜地!),但是您可以看到丰富的夜生活和一些商店。 几乎相同,但场馆的类型存在明显的偏差。
Comparing Jurerê Leste and Jurerê Oeste
比较中JurerêLeste和JurerêOeste
Image by author 图片作者Comparing the two neighborhoods side by side, you can understand the influence of each bias (glamour or housing), but also the influence of the idea of a tourist destination. With almost the same quantities of restaurants and cafés, we can see also some of the services needed that can be verified in one, but not in the other. The prior completion of the analysis shows a special need for laundry and lottery. Even Jurerê Leste showing a lack of markets or pharmacies is natural that people who live in one neighborhood move a few kilometers to see their needs achieved.
并排比较两个社区,您可以了解每种偏见(魅力或住房)的影响,还可以了解旅游目的地概念的影响。 在餐馆和咖啡厅数量几乎相同的情况下,我们还可以看到一些需要验证的服务,但可以在另一个中进行验证。 先前完成的分析表明对洗衣和彩票的特殊需求。 即使JurerêLeste表现出缺乏市场或药房,也很自然,住在一个社区的人们走了几公里就能看到自己的需求。
Canasvieiras
卡纳斯维埃拉斯
Image by author 图片作者Canasvieiras is known as one of the most popular tourist destinations — especially for Argentinian and Uruguayan tourists. This place, with apparently more options, shows the same pattern: a lot of restaurants, but with some lack of other options. The proximity with Cachoeira do Bom Jesus can be, for both places, a good complement.
卡纳斯维埃拉斯被誉为最受欢迎的旅游目的地之一,尤其是阿根廷和乌拉圭游客。 这个地方显然有更多选择,它显示出相同的模式:很多餐馆,但缺少其他选择。 与Cachoeira do Bom Jesus的距离在两个地方都可以很好地补充。
Cachoeira do Bom Jesus
Cachoeira do Bom Jesus
Image by author 图片作者Cachoeira do Bom Jesus is known by almost two avenues with business and lots of houses. This, as we could imagine, reflects in a lack of different businesses. Again, the restaurants are the “star” of the neighborhood. A technological park (“Sapiens Park”) with more than 2 thousand workers affects also the crowds of restaurants: as everyone needs a place for lunch, is natural that business people decide to open restaurants.
Cachoeira do Bom耶稣以将近两种营业方式和房屋而闻名。 正如我们可以想象的那样,这反映出缺乏不同的业务。 同样,餐厅是附近的“明星”。 拥有2000多名工人的技术园区(“智人园”)也影响着餐馆的人群:由于每个人都需要一个吃饭的地方,因此商务人士决定开餐馆是很自然的事。
Comparing Canasvieiras and Cachoeira do Bom Jesus
比较Canasvieiras和Cachoeira do Bom Jesus
Image by author 图片作者Canasvieiras being a more “central” neighborhood shows more options. Cachoeira do Bom Jesus, the next neighborhood, have fewer options but, as the comparison with Jurerê Leste-Jurerê Oeste, can take some advantages of the proximity. By the way, the proximity is one of the factors that complement both neighborhoods: only three kinds of venues are shared between them.
Canasvieiras作为一个“中心”社区显示了更多选择。 下一个街区的卡乔埃拉·杜邦·耶稣(Cachoeira do Bom Jesus)具有较少的选择,但是,与JurerêLeste-JurerêOeste进行比较,可以利用邻近的优势。 顺便说一下,邻近性是对两个邻域进行补充的因素之一:它们之间仅共享三种场所。
Ponta das Canas
蓬塔达斯卡纳斯
Image by author 图片作者Ponta das Canas shows only one kind of venue: fitness. As a continuity of the neighborhood of Cachoeira do Bom Jesus, Ponta das Canas don’t have a huge portion of territory, which could explain the lack of venues.
Ponta das Canas仅显示一种场所:健身。 作为Cachoeira do Bom Jesus社区的延续,蓬塔斯卡纳斯省(Ponta das Canas)的地盘并不占很大比例,这可以解释场地的缺乏。
Comparing Ponta das Canas with Cachoeira do Bom Jesus
比较蓬塔达斯卡纳斯和卡乔埃拉做邦耶稣
Image by author 图片作者Both residential and small neighborhoods, Ponta das Canas and Cachoeira do Bom Jesus present a lack of businesses. It could show a dependency of Canasvieiras for some needs.
蓬塔达斯卡纳斯(Ponta das Canas)和卡乔埃拉·杜邦·耶稣(Cachoeira do Bom Jesus)住宅区和小型社区都缺乏业务。 它可能表明Canasvieiras对某些需求有依赖性。
Comparing all neighborhoods
比较所有街区
Image by author 图片作者Even with a clear tendency to restaurants in practically all neighbors, is right to say that some of the other services could be difficult to find in a short distance. Some of them seem even unique in all areas. This shows a decisive necessity of new business, especially for those who actually live in these neighborhoods.
即使几乎所有邻居都有明显的餐馆倾向,也可以说在短距离内很难找到其他一些服务。 其中一些似乎在所有领域都独一无二。 这表明了新业务的决定性必要性,特别是对于那些实际居住在这些社区中的人。
Conclusion
结论
About the business opportunities and needs in Florianópolis — North Shore
关于弗洛里亚诺波利斯的商机和需求—北岸
Based on the analyzed data, we can conclude:
根据分析的数据,我们可以得出以下结论:
Ponta das Canas, even being a very small neighborhood, needs many more businesses. We could only find a gym. Basic needs as markets, grocery store, pharmacies, and bakeries can be a good option in this neighborhood.
蓬塔达斯卡纳斯桥,即使是一个很小的社区,也需要更多的业务。 我们只能找到一个健身房。 市场,杂货店,药房和面包店等基本需求可能是该社区的不错选择。
Enough with restaurants and bars! We know that restaurants in a place that are a tourist destination (and also have big technology companies nearby) is an obvious choice — but that is saturated already.
足够餐厅和酒吧! 我们知道,在旅游胜地(附近也有大型科技公司)的地方的餐馆是显而易见的选择-但这已经饱和。
Bakeries are in a good number in the neighborhoods. But since Cachoeira do Bom Jesus just have one and Ponta das Canas have none, could be a great opportunity to open a bakery in Ponta das Canas. It would be accessible also to people who live in Cachoeira do Bom Jesus.
面包店在附近很多。 但是由于卡乔埃拉·杜邦耶稣只有一个,而蓬塔·达斯卡纳斯都没有,所以这可能是在蓬塔·达斯卡纳斯开一家面包店的绝佳机会。 生活在卡乔埃拉·杜邦·耶稣的人们也将可以使用该服务。
The category “Café/Snacks” is highly represented in Jurerê (both Leste and Oeste) and Canasvieiras. Even knowing that the distance from Canasvieiras to Cachoeira do Bom Jesus and Ponta das Canas are not so big, a coffee shop in those neighborhoods can represent an interesting business project.
“咖啡馆/小吃”类别在Jurerê(Leste和Oeste)和Canasvieiras中得到很高的代表。 即使知道从Canasvieiras到Cachoeira do Bom Jesus和Ponta das Canas的距离并不大,在那些社区中的咖啡店也可以代表一个有趣的商业项目。
The options of entertainment are poor, especially if you are thinking about a family, but the beautiful beaches are the big stars of those neighborhoods, so can be risky to invest in this kind of venue.
娱乐选择不多,特别是如果您正在考虑一家人的时候,但是美丽的海滩是这些街区的明星,因此在这种场所投资可能会有风险。
Gyms and fitness centers are accessible in Jurerê Leste and Oeste, as in Ponta das Canas. Canasvieiras and Cachoeira do Bom Jesus are served for their neighbors, but a fitness center in the “central” part of Canasvieiras can be a good match!
如在蓬塔达斯卡纳斯一样,在于勒勒莱斯特(JurerêLeste)和厄斯特(Oeste),也设有健身房。 Canasvieiras和Cachoeira do Bom Jesus为他们的邻居服务,但是Canasvieiras的“中心”部分的健身中心可能是一个不错的选择!
As we already told, lotteries in Brazil represent more than just gamble. His meaning for the community, that can do easily some bank action in the lottery spaces, represents that they are very utile. Since we have just one lottery in Canasvieiras, this can be one of the best business opportunities.
正如我们已经说过的,巴西的彩票不仅仅是赌博。 他对社区的意义可以很容易地在彩票空间中进行一些银行操作,这表示他们很有用。 由于我们在Canasvieiras只有一张彩票,因此这可能是最好的商机之一。
The region of Jurerê Leste and Jurerê Oeste just have two businesses in the “market” category. It’s approximately 2,58 km² (27.750.257,61 ft²) with just two markets. It’s a good opportunity.
JurerêLeste和JurerêOeste地区仅在“市场”类别中有两家。 大约有两个市场,面积约为2,58平方公里(27.750.257,61平方英尺)。 这是一个很好的机会。
Nightclubs and lounge spaces are closing in the wintertime. We have only two options: one in Canasvieiras and one in Jurerê Oeste. Since this can be a risky business to open all year, it would need more data to understand if it is a good opportunity.
冬季,夜总会和休息室关闭。 我们只有两个选择:一个在Canasvieiras,一个在JurerêOeste。 由于这可能是一个全年营业的冒险业务,因此需要更多数据来了解这是否是一个很好的机会。
Pet shops are also scarce: with one in Cachoeira do Bom Jesus and another in Jurerê Leste, we can imagine that this “central points” could be a good place to meet the demand. But is still a good opportunity for more research and plan a new business.
宠物商店也很稀少:在Cachoeira do Bom Jesus的一家商店和在JurerêLeste的另一家商店,我们可以想象到,这个“中心点”可能是满足需求的好地方。 但是,这仍然是进行更多研究和计划新业务的好机会。
Pharmacies are one of those businesses that everyone someday will need to reach. In Brazil, only pharmacies can sell medicine. So, having just two (one in Canasvieiras and one in Jurerê Leste) show a lack. It can be a good business opportunity — even needing a pharmacist to open one.
药房是每一天每个人都需要达到的业务之一。 在巴西,只有药店可以出售药品。 因此,只有两个人(一个在Canasvieiras中,一个在JurerêLeste中)表明缺乏。 这可能是一个很好的商机-甚至需要药剂师来打开。
Stores can fill the necessities of everyone and make life easier for anyone who lives in the North Shore of Florianópolis. But we only could find three (two in Canasvieiras and one in Jurerê Oeste). Just this topic can be the origin of another big analysis, but shows a need for new stores and also a great business opportunity.
商店可以满足每个人的生活必需品,并使住在弗洛里亚诺波利斯北岸的人们的生活更轻松。 但是我们只能找到三个(在Canasvieiras中两个,在JurerêOeste中一个)。 只是这个主题可能是另一项重大分析的起源,但表明了对新门店的需求以及巨大的商机。
About the study
关于研究
The choice in the methodology field was right. The data could assist with ideas for new business, even the analysis was not profound. But Foursquare data does not seem trustworthy. Analyzing the data, was clear the uncertainty about the accuracy of the information. Living in one of those neighborhoods, I could remember more business than Foursquare could give me. It’s not a bad idea to see the Foursquare data (since they are available for free). If I was hired for this analysis, I would try other APIs and resources to give me more information.
方法论领域的选择是正确的。 数据可以帮助您开展新业务,即使分析不够深入。 但是Foursquare数据似乎并不可信。 分析数据,很清楚信息准确性的不确定性。 生活在这些街区之一中,我想起的生意比Foursquare给我的还多。 查看Foursquare数据不是一个坏主意(因为它们是免费提供的)。 如果我被雇用从事此分析,我将尝试其他API和资源来为我提供更多信息。
Interested in the Notebook?
对笔记本感兴趣?
Access in my GitHub!
在我的GitHub上访问!
翻译自: https://towardsdatascience.com/best-places-for-new-businesses-in-florian%C3%B3polis-brazil-north-shore-a-foursquare-data-analysis-1a6034024011