convert.csv {dataone}R Documentation

Convert a DataFrame to Standard CSV.

Description

Convert a DataFrame to Standard CSV.

Usage

convert.csv(x, ...)

## S4 method for signature 'D1Client'
convert.csv(x, df, ...)

Arguments

x

A D1Client object

...

additional params passed to write.csv

df

the dataFrame

Value

the dataframe serialized as a .csv

See Also

D1Client class description.

Examples

## Not run:  
d1c <- D1Client("STAGING", "urn:node:mnStageUCSB2")
testdf <- data.frame(x=1:10,y=11:20)
sdf <- convert.csv(d1c, testdf)  

## End(Not run)

[Package dataone version 2.2.2 Index]