Liking cljdoc? Tell your friends :D

collet.actions.file


->stringclj

(->string x)

Converts the input to a string.

Converts the input to a string.
raw docstring

dataset-seq->csvclj

(dataset-seq->csv input file csv-header?)

Writes a sequence of datasets to a CSV file.

Writes a sequence of datasets to a CSV file.
raw docstring

file-params-specclj


is-uri?clj

(is-uri? x)

Returns true if the input is a URI or a string that can be converted to a URI.

Returns true if the input is a URI or a string that can be converted to a URI.
raw docstring

write-datasetclj

(write-dataset dataset file format csv-header?)

Writes the dataset to a file.

Writes the dataset to a file.
raw docstring

write-into-fileclj

(write-into-file {:keys [input format file-name folder csv-header? cat?
                         request-options]
                  :or {csv-header? false cat? false request-options {}}})

Writes the input to a file. The input data should be a collection of maps or a collection of sequential items. Options: :input - the data to write or the actual file (input stream or file path) :format - the format of the file (makes sense only if you're writing data into :json or :csv) :file-name - the name of the file :override? - if true, the file will be overwritten if it exists :csv-header? - if true, the CSV file will have a header row

Writes the input to a file.
The input data should be a collection of maps or a collection of sequential items.
Options:
:input       - the data to write or the actual file (input stream or file path)
:format      - the format of the file (makes sense only if you're writing data into :json or :csv)
:file-name   - the name of the file
:override?   - if true, the file will be overwritten if it exists
:csv-header? - if true, the CSV file will have a header row
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close