get_relation_codes | R Documentation |
Internal recursive function used to get all relation codes from the database (called explicitly by get_child_codes)
get_relation_codes(src, rel_code, immediate_relations = F, children = T, tbl_name, code_field, parent_code_field, code_data_obj)
src |
dplyr src object |
rel_code |
Code to obtain relations for |
immediate_relations |
indicates if only one level (e.g. just immediate children) should be returned |
children |
indicates if children should be returned |
tbl_name |
name of parent/child table to use |
code_field |
name of child code field in table |
parent_code_field |
name of parent code field in table |
code_data_obj |
a 'code_data' object instance which contains previously stored relations |
Character vector containing relation codes (this excludes the code provided to the function)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.