Description Usage Arguments Value Examples
This performs a list
API request at DataMarket.com, fetching the
requested data and wrapping it in a data.frame
object.
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. |
... |
named parameters whose names are dimension titles or IDs, and
whose values are titles or IDs of values of those dimensions.
E.g. if dataset |
a data frame representing the fetched data. The data frame has one column for each of the dataset's dimensions, containing a factor whose levels are values of that dimension, and a 'Value' column holding a numerical value for each combination of dimension values.
1 2 3 4 5 6 7 8 9 10 | dmlist("17tm")
dmlist("17tm!kqc=a")
dmlist("ds=17tm")
dmlist("ds=17tm!kqc=a")
dmlist("foo=bar&ds=17tm&baz=xyzzy")
dmlist("http://datamarket.com/api/v1/series.json?foo=bar&ds=17tm&baz=xyzzy")
dmlist("http://datamarket.com/data/set/17tm/#ds=17tm")
dmlist("17tm", Country="Algeria")
dmlist("17tm", Country=c("Algeria", "Angola"))
dmlist("12rb", "Country or Area"="Afghanistan")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.