A grouping of data (editions) with shared dimensions, for example Sex, Age and Geography, and all published history of this group of data. The options in these dimensions can change over time leading to separate editions. For example: Population Estimates for UK, England and Wales, Scotland and Northern Ireland.

ons_datasets()

ons_ids()

Value

A tibble with the datasets.

Examples

# \donttest{
# Find all the information about the data
ons_datasets()
#> # A tibble: 44 × 17
#>    contacts  description  id    keywords links$editions$… $latest_version… $$id 
#>    <list>    <chr>        <chr> <list>   <chr>            <chr>            <chr>
#>  1 <df [1 ×"Seasonally… well… <chr [1… https://api.bet… https://api.bet… 3    
#>  2 <df [1 ×"Estimates … well… <chr [1… https://api.bet… https://api.bet… 2    
#>  3 <df [1 ×"Provisiona… week… <chr [2… https://api.bet… https://api.bet… 68   
#>  4 <df [1 ×"Provisiona… week… <chr [2… https://api.bet… https://api.bet… 1    
#>  5 <df [1 ×"Provisiona… week… <chr [2… https://api.bet… https://api.bet… 1    
#>  6 <df [1 ×"Provisiona… week… <chr [2… https://api.bet… https://api.bet… 68   
#>  7 <df [1 ×"These data… uk-s… <NULL>   https://api.bet… https://api.bet… 13   
#>  8 <df [1 ×"Experiment… traf… <NULL>   https://api.bet… https://api.bet… 20   
#>  9 <df [1 ×"Country by… trade <chr [1… https://api.bet… https://api.bet… 16   
#> 10 <df [1 ×"Estimates … tax-… <NULL>   https://api.bet… https://api.bet… 2    
#> # … with 34 more rows, and 12 more variables: methodologies <list>,
#> #   next_release <chr>, qmi <tibble[,1]>, related_datasets <list>,
#> #   release_frequency <chr>, state <chr>, title <chr>,
#> #   national_statistic <lgl>, type <chr>, unit_of_measure <chr>,
#> #   publications <list>, license <chr>

# Just the ids
ons_ids()
#>  [1] "wellbeing-quarterly"                          
#>  [2] "wellbeing-local-authority"                    
#>  [3] "weekly-deaths-region"                         
#>  [4] "weekly-deaths-local-authority"                
#>  [5] "weekly-deaths-health-board"                   
#>  [6] "weekly-deaths-age-sex"                        
#>  [7] "uk-spending-on-cards"                         
#>  [8] "traffic-camera-activity"                      
#>  [9] "trade"                                        
#> [10] "tax-benefits-statistics"                      
#> [11] "suicides-in-the-uk"                           
#> [12] "regional-gdp-by-year"                         
#> [13] "regional-gdp-by-quarter"                      
#> [14] "projections-older-people-sex-ratios"          
#> [15] "projections-older-people-in-single-households"
#> [16] "output-in-the-construction-industry"          
#> [17] "online-job-advert-estimates"                  
#> [18] "older-people-sex-ratios"                      
#> [19] "older-people-net-internal-migration"          
#> [20] "older-people-economic-activity"               
#> [21] "mid-year-pop-est"                             
#> [22] "life-expectancy-by-local-authority"           
#> [23] "labour-market"                                
#> [24] "index-private-housing-rental-prices"          
#> [25] "house-prices-local-authority"                 
#> [26] "health-accounts"                              
#> [27] "gva-by-industry-by-local-authority"           
#> [28] "generational-income"                          
#> [29] "gdp-to-four-decimal-places"                   
#> [30] "gdp-by-local-authority"                       
#> [31] "faster-indicators-shipping-data"              
#> [32] "cpih01"                                       
#> [33] "childrens-wellbeing"                          
#> [34] "ashe-tables-9-and-10"                         
#> [35] "ashe-tables-7-and-8"                          
#> [36] "ashe-tables-3"                                
#> [37] "ashe-tables-27-and-28"                        
#> [38] "ashe-tables-26"                               
#> [39] "ashe-tables-25"                               
#> [40] "ashe-tables-20"                               
#> [41] "ashe-tables-11-and-12"                        
#> [42] "ashe-table-5"                                 
#> [43] "ageing-population-projections"                
#> [44] "ageing-population-estimates"                  
# }