Skip to content

bigfunctions > ip2continent

ip2continent

Signature

ip2continent(ip)

Description

Get continent_code of ip

This functions uses IP address data powered by IPinfo and released under Creative Commons Attribution-ShareAlike 4.0 International License. You are required to attribute IPinfo to use their free datasets. The attribution requirements can be met by giving their service credit as your data source. Simply place a link to IPinfo on the website, application, or social media account that uses their data.

Examples

select bigfunctions.eu.ip2continent('152.216.7.110')
select bigfunctions.us.ip2continent('152.216.7.110')
select bigfunctions.europe_west1.ip2continent('152.216.7.110')
+----------------+
| continent_code |
+----------------+
| NA             |
+----------------+