Skip to contents

ods_metadata returns all metadata used by a dataset on statistics.gov.scot

Usage

ods_metadata(dataset)

Arguments

dataset

string. The identifying final part of a URI for a dataset on statistics.gov.scot.

Value

data.frame. All schemes used by the dataset named in the dataset argument.

Details

The dataset parameter must be passed a valid dataset name (a full list can be obtained by calling ods_all_datasets()).

Examples

ods_metadata("average-household-size")
#> # A tibble: 29 × 2
#>    metadata     value                                                           
#>    <chr>        <chr>                                                           
#>  1 type         http://purl.org/linked-data/cube#DataSet                        
#>  2 type         http://publishmydata.com/def/dataset#Dataset                    
#>  3 type         http://publishmydata.com/def/dataset#LinkedDataset              
#>  4 label        Average Household Size                                          
#>  5 title        Average Household Size                                          
#>  6 comment      The average number of people per household in each council area…
#>  7 contactEmail mailto:statisticscustomerservices@nrscotland.gov.uk             
#>  8 graph        http://statistics.gov.scot/graph/average-household-size         
#>  9 issued       2017-07-07T08:58:56Z                                            
#> 10 modified     2022-08-17T09:15:07.410Z                                        
#> # ℹ 19 more rows