distance.lookup.f: Lookup flying distances between locations

Description Usage Arguments

View source: R/carbon.calcs.r

Description

This looks up flying distances between origin and destination airports. Flying distances are taken as direct geographic distances between cities and does not accounting for routing. It has some simple error checking. If you get an error it will likely be here and it is because the cities database does not contain your location. Some options are given when an error arises.

You are unlikely to want to call this function on its own. It is used inside the main function.

Usage

1
distance.lookup.f(input.data)

Arguments

input.data

an object in the workspace with at least columns exactly named: "activity.type" "activity.name" "origin" "destination" "origin.country" "hotel.nights" "meals" "bustrain.distance" "car.distance" "car.sharing" "flying"


duplisea/TESAcarbon documentation built on April 19, 2021, 1:18 a.m.