df <- tibble::tribble(
~value, ~location_word, ~Country,
"mumbai region, district of seattle, sichuan province", "mumbai","India",
"mumbai region, district of seattle, sichuan province", "seattle", "USA"
)
geocode(df, n_results = 1, unwrap = TRUE, geonames_username = "rammkripa")
Run the code above in your browser using DataLab