base.distance: Calculate the distance from a US Air Force Base to a service

Description Usage Arguments Details

View source: R/base.distance.R

Description

Calculate the distance from a US Air Force Base to a service

Usage

1
base.distance(base = NULL, service = "libraries")

Arguments

base

The name of a CONUS USAF base

service

The type of service for which a distance is desired

Details

This function computes the distance between the location of a CONUS US Air Force Base and the location of a service. The default service type is libraries as this was the first service considered. Distance measurements were computed using the rdist.earth.vec function from the fields package. Latitude/longitude values were found by submitting the addresses of the service locations to the Google API using ggmap::geocode.


Auburngrads/publicLibs documentation built on July 24, 2020, 5:41 a.m.