View source: R/entity-schema.R
Get entity name from entity id
1 | get_entity_from_entity_id(entity_id)
|
1 2 3 4 5 6 7 | get_entity_from_entity_id(1002) # 'PROJECT'
get_entity_from_entity_id(8002) # 'VARIANT'
get_entity_from_entity_id(c(1002, 8002)) # c('PROJECT', 'VARIANT')
## Not run:
get_entity_from_entity_id(c(1002, -1)) # Error
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.