Get a list of dataset dimension objects for the given dataset.
Usage
dmdims(ds, .params = list())
Arguments
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.
If the DS string contains dimension filter specifications (the
stuff after the ! character, so it's not just a dataset ID), these
are preserved in the request to the API, but for normal DataMarket
datasets they do not affect the response.
.params
extra GET parameters to pass along in the API request.
Value
named list of dataset dimension information. Each name is a dataset
ID and each element is a named list of dimensions of that dataset.
Each dimension is named for its dimension ID in that list, and is
itself a named list of the four properties id, title, type,
values. The first three of these properties are character strings,
while values is a named list of dimension values. Each of
these is a list of two properties id, title, and the id
is also the name of the dimension value