Learn R Programming

geotopbricks (version 1.3.3)

create.geotop.inpts.keyword: Creates an 'geotop.inpts' files the keyword and their values of a date.frame like the one returned by declared.geotop.inpts.keywords

Description

Creates an 'geotop.inpts' files the keyword and their values of a date.frame like the one returned by declared.geotop.inpts.keywords

Usage

create.geotop.inpts.keyword(df,
    file = "geotop.inpts.copy", wpath = NULL,
    comment.lines = "default", header = "default", ...)

Arguments

df
data frame returend by declared.geotop.inpts.keywords
file
connetion or file name where to write 'df'
wpath
complere path to file (optional). Default is NULL.
comment.lines
string or vector of strings to add as comments for each keyword. If it is NULL the comment lines are omitted.
header
string or vector of strings to add as a header. If it is NULL the header is omitted.
...
further arguments for writeLines

Details

In case comment.lines and header are set equal to "default", they are suitably modified within the function code. See the example output.

See Also

writeLines,declared.geotop.inpts.keywords

Examples

Run this code
library(geotopbricks)

#Simulation working path
wpath <- 'http://meteogis.fmach.it/idroclima/panola13_run2xC_test3'
df <- declared.geotop.inpts.keywords(wpath=wpath)
create.geotop.inpts.keyword(df=df)

Run the code above in your browser using DataLab