Description Usage Arguments Details Value Note Author(s) See Also
Read or write tables in two specific formats for standardizing the cleaning process. This function reads the input and writes the output.
1 2 |
action |
Vector of characters. If |
frmt |
Vector of characters. The format to read or write can be of
two types: plain text |
path |
Vector of characters. Path to the input file or the destination Path to the output file.See details. |
name |
Vector of characters. Name of the input file or name of file to write. |
object |
Vector of characters. Object to write. See details. |
It reads and/or writes a file in plain text format (txt) using the
functions read.table
and/or write.table
.
To maintain the standard manipulation the arguments for both
functions read.table
and write.table
parameters, are the default,
except for the parameters: sep= 'TAB', header= TRUE, quotes= FALSE and rownames = FALSE.
If the argument in the action parameter is 'write'
, the argument in object
and name parameters must be assigned. But, if the argument in
the action parameter is 'read'
, the argument in object parameter
must be omitted.
For action = 'read'
, load the file given for the user.
For action = 'write'
, save an output file. Both depend on the frmt parameter.
See: R-Alarcon V. and Miranda-Esquivel DR. (submitted) geocleaMT: An R package to cleaning geographical data from electronic biodatabases.
R-Alarcon Viviana and Miranda-Esquivel Daniel R.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.