Calculates the carbon emissions footprint for all the activites. It plots the calculation as a bar graph with total and per capita values. It also produces a map with all the home cities of participants as well as the destination cities which are circled in red. The total carbon emissions of all activities combined is shown in the title. A list with calculations is also produced.
1 2 | carbon.footprint.f(input, Title.name = "Carbon footprint",
list.out = T)
|
Title.name |
A text string for how you want the plot named |
list.out |
logical, output the list to the console |
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" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.