datadotworld / write_table / 0.2.0

You can use this algorithm to write a table of data to a dataset

​BEFORE YOU RUN THIS ALGORITHM you must configure your algorithmia account for access to your account - see

This expects an object as input with several fields:

  • dataset_key the identifier for the 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