get_codelist: Download a Codelist

get_codelistR Documentation

Download a Codelist

Description

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

Usage

get_codelist(codelist_uri, endpoint = default_endpoint())

Arguments

codelist_uri

A string

endpoint

A string for the sparql endpoint

Value

A data frame

Examples

## Not run: 
get_codelist("http://statistics.gov.scot/def/concept-scheme/ethnicity",
             "https://statistics.gov.scot/sparql")

## End(Not run)

Swirrl/linked-data-frames documentation built on Sept. 14, 2022, 6:15 p.m.