powerproduction_for_one: power_production_for_one

Description Usage Details Value Examples

View source: R/mycode.R

Description

powerproduction_for_one is a function that uses data from the use_api() function to load data from about Norwegian hydro power from Norges vassdrags- og energidirektorat (NVE), and then returns a data frame showing a selected power station and its yearly power production.

Usage

1
powerproduction_for_one(.data, name_power_station)

Details

powerproduction_for_one

Value

Returning yearly power production per power station

Examples

1
grondal <- powerproduction_for_one(name_power_station = "Grøndal") returns a data frame with 1 oberservation of two variables, MidProd_81_10 and Navn. This is the yearly power production for the power station, Grøndal.

LinnGjesdal/kraftpriser documentation built on Nov. 10, 2019, 4:38 p.m.