read_planning: Read a maintenance planning

Description Usage Arguments Value Examples

View source: R/read_planning.R

Description

Read a maintenance planning

Usage

1
read_planning(path, sheet = "Planning", start_col = "A", start_row = 16)

Arguments

path

Character. Path to the Excel file

sheet

Character. Sheet in which the planning can be found. Defaults to 'Planning'.

start_col

Character. Leftmost column of the planning (upper-case letter). Defaults to 'A'.

start_row

Integer. Row number of the planning's header. Defaults to 16.

Value

A 12-column data.table: the same 12 columns as in the Excel sheet. Useless rows are dropped, and values from the first 4 columns are repeated in order to obtain a 'tidy' dataset.

Examples

1
2
3
4
5
6
## Not run: 

mydt <- read_planning("1805_Planning Mensuel GDF SUEZ_REF.xlsx")


## End(Not run)

rte-antares-rpackage/antaresThermalTS documentation built on May 14, 2020, 1:48 a.m.