View source: R/search_placekey.R
search_placekey | R Documentation |
Use the SafeGraph [Places API](https://docs.safegraph.com/reference#places-api) to fetch POI attributes for a given placekey.
search_placekey(placekey, key = Sys.getenv("SAFEGRAPH_SECRET"))
placekey |
A vector of placekeys. Must not exceed 100 values. |
key |
Your SafeGraph API key. Recommend to be stored as an environment variable called 'SAFEKEY_SECRET'. |
The SafeGraph places API will only return up to 4000 rows. This utilize your $200 credit. Each subsequent placekey will cost $0.05. You will not be charged if you have not set up payment.
Currently pagination and rate limiting for this API endpoint are not implemented.
If you do not have an API key, generate one on SafeGraph's [website](https://shop.safegraph.com/api/).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.