This repository contains the data extraction and analysis code used to produce the country-friendliness-index research story that was posted on medium
https://towardsdatascience.com/top-10-customer-friendly-countries-based-on-google-maps-edef2cd396e
Fetching places and reviews from Google APIs
Use data-extraction/fetch_reviews.js (Nodejs) and please make sure you add your API key at the beginning of the file
Analyzing data fetched from Google APIs & Reproducing the visuals
Use analysis/reviews-analysis.R (R Studio) and make sure to set your working directory at the beginning of the file
The "data-extraction/countries.json" file belongs to the https://github.com/annexare/Countries repo