Description Usage Arguments Details Value See Also Examples
ip_api
consumes a vector of IP addresses
and geolocates them via db-ip.com.
See 'Details' for more information.
1 | db_ip(ip_addresses, key)
|
ip_addresses |
a character vector of IP addresses. |
key |
a db-ip.com API key. |
db-ip.com provides IP geolocation, either for free (with a cap of 2,500 requests a day) or in various paid tiers.
To use the service, register there for an API key, and plug that key and the
IP addresses into db_ip
a list of lists, each containing the geolocated values for one IP address. The variables found depend on the level of access your API key has; see the DB-IP API documentation on their website for more information.
ip_api
and ip_info
for other
online geolocation APIs.
1 2 3 4 | ## Not run:
db_ip(ip_addresses = "173.194.67.1", key = "ThisIsNotARealKey")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.