Pretty much provided as an example of data services. You should use the one in the iptools or netintel packages if you are serious about doing IP/ASN lookups.
ip2asn(ip = "184.108.40.206")
address to lookup (character vector)
data frame containing named ASN attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.