My goal is to use R to request google api. I have a list of addresses and names (belong to shops, restaurants, etc.), and for each of them I need to store:
latitude, longitude, type of business
My idea is to use google place api:
-Use text search queries to find addresses to store longitude latitude and longitude
https://maps.googleapis.com/maps/api/place/textsearch/xml?query=address&key=AddYourOwnKeyHere
-Then use the radar search queries to search for a name near latitude and longitude . So i get id_place
https://maps.googleapis.com/maps/api/place/radarsearch/json?location=latitude,longitude&radius=1&keyword=name&key=AddYourOwnKeyHere
-Thank you for ID_place , I request requests for details of the place to get detailed information about the types of business (such as "types": ["food"])
https://maps.googleapis.com/maps/api/place/details/json?placeid=ID_place&key=AddYourOwnKeyHere
google api , , .
:
- ( )
- ( )
: