Created
August 25, 2014 16:14
-
-
Save tacaswell/7052ce8adf782d384d1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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