createSource {bigml} | R Documentation |
Creating BigML Sources
createSource(file_name, name = basename(file_name), header = TRUE, locale = "en-US", missing_tokens = c("NA"), quote = "\"", separator = ",", trim = TRUE, flatten = TRUE, ...)
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
|
createSource
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 |
Leon Hwang hwang@bigml.com
https://bigml.com/developers/sources
Other source methods: getSource
;
listSources
; quickSource
## Not run: # simple example m1 = createSource("/tmp/iris.csv") ## End(Not run)