Skip to contents

a_class() is a helper function to mimic the a <Class> pattern in sparql. While a_class() could be called directly, the intended use is to serve as a template to generate prefix-specific functions for each type known by the endpoint.

Usage

a_class(x, ...)

Arguments

x

object to dispatch on

...

additional arguments

Value

an R object.

Examples

a_class
#> <S7_generic> a_class(x, ...) with 3 methods:
#> 1: method(a_class, class_name)
#> 2: method(a_class, class_character)
#> 3: method(a_class, class_call)