datadotworld / write_table / 0.2.0
README.md
You can use this algorithm to write a table of data to a data.world dataset
BEFORE YOU RUN THIS ALGORITHM you must configure your algorithmia account for access to your data.world account - see https://algorithmia.com/algorithms/datadotworld/configure
This expects an object as input with several fields:
- dataset_key the identifier for the data.world dataset against which to run the query
- table an object representing the table of results, with the following fields:
- - header an array containing the column names in the order they should be presented, left to right
- - data an array of objects, where each object's keys are the column headers and the values are the cell values
- file_name the file name to write out the file under - defaults to "data.csv"
And will return back a success message if the file was successfully written, or an error if it fails