Returns a data frame with one observation per code and columns for the label, notation, and sort priority (if available).

get_codelist(codelist_uri, endpoint = default_endpoint())

Arguments

codelist_uri

A string

endpoint

A string for the sparql endpoint

Value

A data frame

Examples

if (FALSE) { get_codelist("http://statistics.gov.scot/def/concept-scheme/ethnicity", "https://statistics.gov.scot/sparql") }