R/helper.R

Defines functions table_vars

Documented in table_vars

#' Show all parameter settings
#'
#' Show alle the available parameter settings for a given table id.
#'
#' @param table_id the id of the table you want to call.
#'
#' @return a tibble
#' @export
#'
#' @examples
#' realestateDK::table_vars("BM010")
#'
table_vars <- function(table_id){
  metadata <- statsDK::retrieve_metadata(table_id, base_url = "http://api.statbank.dk/v1/s20/")
  statsDK::get_variables(metadata)
}

Try the realestateDK package in your browser

Any scripts or data that you put into this service are public.

realestateDK documentation built on May 1, 2019, 8:40 p.m.