reload | R Documentation |
Functions for reloading auto and foreign fields.
reload(x, ...)
## S3 method for class 'rezrDF'
reload(df, rezrObj, fields = "")
reloadLocal(df, fields = "")
reloadForeign(df, rezrObj, fields = "")
df |
The rezrDF you want to modify. |
rezrObj |
The entire rezrObj. |
fields |
The fields of the rezrDF you would like to modify. |
The modified rezrDF. reloadLocal reloads only auto fields; reloadForeign reloads only foreign fields. Foreign fields are always updated before auto fields. If the fields parameter is not available, I will find the best update order; otherwise, I will use the order you provide except for the rule where foreign fields are updated first.
reload.rezrObj is planned for a future release, but not yet available
sbc007$tokenDF = changeFieldLocal(sbc007$tokenDF, fieldName = "text", expression = case_when(text == "<0>" ~ "∅", T ~ text))
sbc007$entryDF = sbc007$entryDF %>% reloadForeign(sbc007)
sbc007$unitDF = sbc007$unitDF %>% reload(sbc007)
sbc007$unitDF %>% filter(str_detect(text, "∅")) %>% rez_select(id, text) %>% head
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.