join_text: Join delimited text file.

Description Usage Arguments Value Examples

View source: R/join_text.R

Description

The package pass several commum arguments like read_csv for join multiples text files. You need pass a folder path. The function enters the specified folder and joins all files and returns an object in your R. workspace.

Usage

1
2
join_text(path = ".", pattern = ".csv", header = FALSE, sep = ";",
  dec = ",", quote = "", encoding = "UTF-8")

Arguments

path

String. A path file.

pattern

String. A pattern file like .txt or .csv.

header

Logical. TRUE if the file has a header collum.

sep

String. Set the separator character. ';' is default.

dec

String. Set the decimal indicator. ',' is default.

quote

Strig. the set of quoting characters. "\"" is dafault.

enconding

String. Set the file enconding. 'UTF-8' is default.

Value

A unique file from all files in join.

Examples

1
2
3
4
5
## Not run: 
# Call the function with the path is needed.
#join_text(path='~/folder/, pattern='.txt', sep=',')

## End(Not run)

willbernascimento/ShinobiTools documentation built on Dec. 3, 2019, 11:11 a.m.