get_segment_name | R Documentation |
Get the name of a segment giving its id
get_segment_name(segment_id)
segment_id |
ID of segment, should be present in inst/config.yml |
Name of the segment, as specified in the configuration file, NULL otherwise.
## Not run: #run if you want to create a inst/ directory containing config file
create_config()
get_segment_name(9000000000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.