Skip to content

Instantly share code, notes, and snippets.

@tacaswell
Created August 25, 2014 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tacaswell/7052ce8adf782d384d1f to your computer and use it in GitHub Desktop.
Save tacaswell/7052ce8adf782d384d1f to your computer and use it in GitHub Desktop.
from vistrails import api
csv = api.add_module(100, 100, 'org.vistrails.vistrails.tabledata', 'CSVFile', 'read')
fd = api.add_module(65, 50, 'org.vistrails.vistrails.url', 'DownloadFile', '')
api.add_connection(fd.id, 'file', csv.id, 'file')
api.change_parameter(fd.id, 'url',['http://www.vistrails.org/download/download.php?type=DATA&id=citibike_from_launch.csv'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment