Learn R Programming

carbonr (version 0.2.1)

hotel_emissions: Calculate CO2e emissions from a hotel stay

Description

Indirect emissions from a stay at a hotel. Values to calculate emissions are from UK government 2022 report.

Usage

hotel_emissions(location = "UK", nights = 1, rooms = 1)

Value

Tonnes of CO2e emissions for a stay in a hotel.

Arguments

location

Location of the hotel stay. Current accepted locations are "UK", "UK (London)" "Argentina", "Australia", "Austria", "Belgium", "Brazil", "Canada", "Chile", "China", "Colombia", "Costa Rica", "Czechia", "Egypt", "Fiji", "France", "Germany", "Greece", "Hong Kong, China", "India", "Indonesia", "Ireland", "Israel", "Italy", "Japan", "Jordan", "Korea", "Macau", "Malaysia", "Maldives", "Mexico", "Netherlands", "New Zealand", "Oman", "Panama", "Peru", "Philippines", "Poland", "Portugal", "Qatar", "Romania", "Russia", "Saudi Arabia", "Singapore", "Slovakia", "South Africa", "Spain", "Switzerland", "Taiwan", "Thailand", "Turkey", "United Arab Emirates", "United States", "Vietnam".

nights

Number of nights stayed in the hotel.

rooms

Number of rooms used in the hotel.

Examples

Run this code
# Emissions for a two night stay in Fiji.
hotel_emissions(location = "Fiji", nights = 2)

Run the code above in your browser using DataLab