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())
codelist_uri | A string |
---|---|
endpoint | A string for the sparql endpoint |
A data frame
if (FALSE) { get_codelist("http://statistics.gov.scot/def/concept-scheme/ethnicity", "https://statistics.gov.scot/sparql") }