xls2csv: xls2csv

Description Usage Arguments Examples

View source: R/xls2csv.R

Description

Function to convert xlsx files with salmon data to csv files. This function uses the readxl package which is part of the tidyverse package.

Usage

1
2
3
4
5
6
7
xls2csv(
  file.in,
  file.out,
  db.type = "nuSEDS",
  sheet.read = 1,
  na.strings = c("", "NA")
)

Arguments

file.in

path to the input file

file.out

path to the output file

db.type

one of "nuSEDS","EPAD", or "MRP"

sheet.read

number specifying the tab to read in. Default is 1.

na.strings

vector with strings to be interpreted as NA. Default is c("","NA")

Examples

1
## Not run: xls2csv("test.xls","test.csv",db.type="nuSEDS")

SOLV-Code/sdsynopsis documentation built on April 29, 2020, 5:20 p.m.