IdeamLong: Create a day by day IDEAM's data serie

Description Usage Arguments Value Examples

Description

Create a data frame with one value by row. The df is available to export as a CSV file

Usage

1
IdeamLong(file, write = FALSE, outfile = "MatrizIdeamLarga")

Arguments

file

IDEAM file path or file name if it is on the working directory

write

If True a CSV file is returned to the working directory, otherwise only a data frame is shown

outfile

Outfile name that will be saved on the working directory

Value

dataframe or a CSV file

Examples

1
2
3
4
5
6
# Retreive example dataset
Example_IDEAM <- system.file("extdata", "Example_IDEAM", package = "ideamdb")
# Create a temporal file
example.ideam.long <- tempfile()
write.csv(IdeamLong(Example_IDEAM), file = example.ideam.long)
read.csv(example.ideam.long)

ideamdb documentation built on May 2, 2019, 2:41 a.m.