exchangerateGetter: exchangerateGetter

Description Usage Arguments Details Value Examples

View source: R/funcs.R

Description

get today's exchange rate SEK to USD

Usage

1
exchangerateGetter(desiredcurrency = "USD")

Arguments

desiredcurrency

what currency would we like to convert to, Default: USD

Details

The API gives SEK by default, we want the output to do USD instead

Value

returns the numeric number of SEKs to the desired currency

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

DataStrategist/carbonFootprintR documentation built on Dec. 17, 2021, 4:07 p.m.