createSource: Creating BigML Sources

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Creating BigML Sources

Usage

1
2
3
createSource(file_name, name = basename(file_name), header = TRUE,
  locale = "en-US", missing_tokens = c("NA"),
  quote = "\"", separator = ",", trim = TRUE, flatten = TRUE, ...)

Arguments

file_name

A string giving a file location

name

A string specifying the name of the source

header

logical; TRUE if data contains name information, false otherwise.

locale

A string giving the locale (defaults to en-US).

missing_tokens

A vector of character strings that will be used to specify missing values in a file name.

quote

A string specifying the quoting character used.

separator

the separator character used when a file name is specified.

trim

A logical value indicating whether white space should be trimmed.

flatten

A logical value indicating whether or not the returned field objects should be "flattened" into a data frame.

...

Arbitrary named arguments that are passed on to formEncodeURL in order to create form-encoded URL options.

Details

createSource

Value

category

numeric

code

numeric

content_type

character

created

character

credits

numeric

description

character

fields

data.frame (or list if flatten=FALSE)

file_name

character

md5

character

name

character

number_of_datasets

numeric

number_of_models

numeric

number_of_predictions

numeric

private

logical

resource

character

size

numeric

source_parser

list

status

list

tags

AsIs

type

numeric

updated

character

Author(s)

Leon Hwang hwang@bigml.com

References

https://bigml.com/developers/sources

See Also

Other source methods: getSource; listSources; quickSource

Examples

1
2
3
4
5
6
## Not run: 
# simple example
m1 = createSource("/tmp/iris.csv")


## End(Not run)

bigml documentation built on May 2, 2019, 2:06 a.m.