getProviders: A function to retrieve mobile broadband provider information

Description Usage Arguments Value Examples

View source: R/getProviders.R

Description

A function for interfacing with the national broadband map API.

Usage

1
getProviders(lat, lon, zip, fips, time)

Arguments

lat

The latitude of the location of interest; optional if a zipcode is provided

zip

The zipcode of the location of interest as a character string; an optional parameter when coordinates are not known

fips

The county-level fips code of the location of interest as a numeric string with no leading zeros; an optional parameter when coordinates are not known

time

The segment of data of interest; check the API documentation for options

long

The longitude of the location of interest; optional if a zipcode is provided

Value

A data frame of mobile broadband providers in a given location along with relevant technology performance metrics.

Examples

1
2
3
getProviders(lat = 39.958520, lon = -75.198857, time = "jun2014")
getProviders(zip = "19104", time = "jun2014")
getProviders(fips = 42101, time = "jun2014")

sf585978/broadbandR documentation built on Dec. 14, 2020, 1:23 p.m.