Learn R Programming

dataone (version 2.2.2)

convert.csv: Convert a DataFrame to Standard CSV.

Description

Convert a DataFrame to Standard CSV.

Usage

convert.csv(x, ...)

# S4 method for 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

Run this code
# NOT RUN {
d1c <- D1Client("STAGING", "urn:node:mnStageUCSB2")
testdf <- data.frame(x=1:10,y=11:20)
sdf <- convert.csv(d1c, testdf)  
# }

Run the code above in your browser using DataLab