sync_codes_with_hierarchy: Sync codes with hierarchy after loading project
Description
Ensures that codes in rv$codes are properly represented in the hierarchy
after loading a project, adding any missing codes to the root level
Usage
sync_codes_with_hierarchy(rv)
Value
Updated ReactiveValues object
Arguments
- rv
ReactiveValues object containing application state