Skip to content

Instantly share code, notes, and snippets.

@wkf
Created March 31, 2014 18:02
Show Gist options
  • Save wkf/9898325 to your computer and use it in GitHub Desktop.
Save wkf/9898325 to your computer and use it in GitHub Desktop.
{
model: 'DataSet',
data: {
title: "US natural gas statistics",
description: "Natural gas prices are a function of market supply and demand. Due to limited alternatives for natural gas consumption or production in the short run, changes in supply or demand over a short period often result in large price movements to bring supply and demand back into balance.",
url: "http://api.eia.gov/bulk/NG.zip",
rows: 9000,
format: "TXT",
vendorId: 3,
updateFrequency: "Quarterly",
category: {
name: "U.S. Energy Information Administration"
}
},
associations: [
{
model: "Category",
as: "category",
joinTable: "DataSetsCategories"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment