This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# INSTALL JSON PACKAGE IF NEEDED | |
#install.packages("jsonlite") | |
library("jsonlite") | |
# ===== FUNCTIONS FOR ID MATCHING ============ | |
getReverseIds <- function(pathToRestaurantIdsCSV){ | |
# load the id map from the csv | |
bosToYelp <- read.csv(pathToRestaurantIdsCSV, na.strings="") | |
# for storing the inverse mapping |