get_fb_suggested_radius {rsocialwatcher} | R Documentation |
Get Suggested Radius
Description
When targeting around a specific location, returns a suggested radius to reach enough people
Usage
get_fb_suggested_radius(location, distance_unit = "kilometer", version, token)
Arguments
location |
Vector of latitude and longitude ( |
distance_unit |
Either |
version |
'Facebook Marketing' API version; for example, "v19.0" |
token |
'Facebook Marketing' API token |
Details
For more information, see the Facebook documentation here
Value
Dataframe with suggested radius and distance unit
Examples
## Not run:
get_fb_suggested_radius(location = c(38.89831, -77.03658),
version = "v14.0",
token = "TOKEN-HERE")
## End(Not run)
[Package rsocialwatcher version 0.1.1 Index]