rr_curie: List registers linked to by CURIEs

Description Usage Arguments Examples

Description

Values in fields of datatype "curie" link to other registers. These functions list which registers are linked to by a field or all the fields in a register.

rr_curie_fields() names which fields in a register are of datatype "curie".

rr_curie_links() names which registers are linked to by a field of datatype "curie", or gives a data frame of all fields in a register that are of datatype "curie", and the names of the registers they link to.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
rr_curie_fields(x)

## S3 method for class 'register'
rr_curie_fields(x)

rr_curie_links(x)

## Default S3 method:
rr_curie_links(x)

## S3 method for class 'register'
rr_curie_links(x)

Arguments

x

Object of class "register", or a character vector that is a field of a register object (register$data$foo) of datatype "curie".

Examples

1
2
3
4
5
register <- rr_register("statistical-geography")
rr_curie_fields(register)
rr_curie_links(register$data$area)
rr_curie_links(register$data$organisation)
rr_curie_links(register)

nacnudus/registr documentation built on May 5, 2019, 12:31 p.m.