ip_zip {pbr}R Documentation

Functions to retrieve IP address and ZIP code from IP

Description

These are just helper shortcut functions. get_ip_address retrieves a computer's IP address from https://ipinfo.io/what-is-my-ip. This is easier than getting the IP right off local computer because of bogon IP addresses. get_zip pulls ZIP code location from https://ipapi.co/

Usage

get_ip_address()

get_zip()

Value

Either the IP address that a web browser sees (get_ip_address), or a zip code (get_zip)


[Package pbr version 0.0.2 Index]