Description Usage Arguments Value Examples
This function makes an info
API call to fetch metadata (including
dimension structure) of a DataMarket dataset.
1 |
ds |
a dataset ID, DS string, URL query-string, or whole URL. The DS string to send is extracted from the URL as needed, and short URLs at data.is, bit.ly, is.gd, t.co and url.is are expanded. |
.params |
extra GET parameters to pass along in the API request. |
a structure of named lists representing the dataset metadata. If the resolved DS string is a multiple-dataset DS string (that is, contains / forward-slash characters), then the returned value is a named list of such structures, with ‘strsplit(ds, ’/')' as names.
1 2 3 4 5 6 7 8 | dminfo("17tm")
dminfo("17tm!kqc=a")
dminfo("ds=17tm")
dminfo("ds=17tm!kqc=a")
dminfo("foo=bar&ds=17tm&baz=xyzzy")
dminfo("http://datamarket.com/api/v1/series.json?foo=bar&ds=17tm&baz=xyzzy")
dminfo("http://datamarket.com/data/set/17tm/#ds=17tm")
dminfo("http://datamarket.com/data/set/12r9/male-population-thousands")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.