bindwrite: Binding and rewriting into a single file all particular type...

Description Usage Arguments Value Examples

View source: R/bindwrite.R

Description

A function for binding all dataset files in a particular repository and writing them into a new dataframe. Current supported input format: CSV, XLSX, and ODS

Usage

1
bindwrite(repo, type = "xlsx", output = "databound.xlsx")

Arguments

repo

A string with the name and/or destination of the repository

type

The targeted type of the data files. Currently support XLSX ("xlsx"), ODS ("ods"), and CSV ("csv").

output

The name of the output file which will contain the bound datasets.

Value

A dataset file containing all bound datasets.

Examples

1
2
3
4
5
6
download.file(url = "https://github.com/ahmad-alkadri/databinders/raw/master/Examples.zip",
              destfile = "Examples.zip")

unzip(zipfile = "Examples.zip")

bindwrite(repo = "Examples/XLSX/", type = "xlsx", output = "iris-all.xlsx")

ahmad-alkadri/databinders documentation built on Nov. 1, 2019, 9:03 p.m.