I have created another column, and in the new column - I would like the categories of high, low and medium based on zipcodes.
I have the list of zipcodes that are considered 'high', 'medium', and 'low' in a csv file.
I am able to do it individually, but with over 200 zipcodes, it becomes more difficult
This is what I've done for Individually:
#created new column
clinics$rate <- NA
#zipcode 97006 is considered low based on summary data
clinics$rate[clinics$zipcode==97006] <- 'low'
what can I do to tag it without entering it individually (over 200 zip codes)?