Returns a data frame with one observation per row and one column per component. Components may be dimensions, measures or attributes.
get_cube(dataset_uri, endpoint = default_endpoint(), include_geometry = FALSE)
| dataset_uri | A string |
|---|---|
| endpoint | A string for the sparql endpoint |
| include_geometry | A boolean indicating whether the geometries should be downloaded (defaults to |
A data frame
Where the column represents an RDF Resource, it will have the type ldf_resource vector.
If the cube uses the sdmx:refArea dimension, it's values will be described using get_geography.
The descriptions will be retrieved from the same endpoint.
If the cube users the sdmx:refPeriod dimension, it's values will be described using intervals.
if (FALSE) { get_cube("http://gss-data.org.uk/data/gss_data/covid-19/ons-online-price-changes-for-high-demand-products#dataset") }