Skip to content

Instantly share code, notes, and snippets.

@clintmjohnson
Created April 13, 2015 23:17
Show Gist options
  • Save clintmjohnson/615f0ea100df6027396e to your computer and use it in GitHub Desktop.
Save clintmjohnson/615f0ea100df6027396e to your computer and use it in GitHub Desktop.
This is a Text Bubbles Script pulling data from a URL and Pretty Printing it.
import bubbles
URL = "https://raw.github.com/Stiivi/cubes/master/examples/hello_world/data.csv"
p = bubbles.Pipeline()
p.source(bubbles.data_object("csv_source", URL, infer_fields=True))
p.aggregate("Category", "Amount (US$, Millions)")
p.pretty_print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment