ct_spec_example | R Documentation |
ct_spec_example()
resolves the local path to an example controlled
terminology file.
ct_spec_example(example)
example |
A string with either the basename, file name, or relative path
to a controlled terminology file bundled with |
The local path to an example file if example
is supplied, or a
character vector of example file names.
# Get the local path to controlled terminology example file 01
# Using the basename only:
ct_spec_example("ct-01-cm")
# Using the file name:
ct_spec_example("ct-01-cm.csv")
# Using the relative path:
ct_spec_example("ct/ct-01-cm.csv")
# If no example is provided it returns a vector of possible choices.
ct_spec_example()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.