Learn R Programming

dataset (version 0.3.1)

get_prefix: Get prefix/resource identifier from CURIE

Description

Separate the eg: prefix and the refArea resource identifier from the Compact URI `eg:refArea` or `[eg:refArea]`

Usage

get_prefix(curie)

get_resource_identifier(curie)

Value

The prefix, for example, 'eg' from 'eg:refArea'.

Arguments

curie

A Compact URI, for example, 'eg:refArea'.

Examples

Run this code
get_prefix("eg:refArea")
get_resource_identifier("eg:refArea")

Run the code above in your browser using DataLab