Skip to contents

Fields core elements

Functions to build fields

new_field() is_field()
Fields
initialize_field()
Initialize field generic
is_initialized()
S3 generic for initialization
validate_field() is_valid() validation_failure()
Validate field generic
update_field() get_field_name()
Update field generic
value() `value<-`()
Get field attribute value
values()
Get all values from a field

Fields elements

Fields are translated into shiny inputs. They are part of blocks.

new_string_field()
String field constructor
new_select_field()
Select field constructor
new_switch_field()
Switch field constructor
new_numeric_field()
Numeric field constructor
new_submit_field()
Submit field constructor
new_upload_field()
Upload field constructor
new_filesbrowser_field()
Files browser field constructor
new_variable_field()
Variable field constructor
new_range_field()
Range field constructor
new_hidden_field()
Hidden field constructor
new_list_field()
List field constructor
new_result_field()
Result field constructor
generate_server(<keyvalue_field>) ui_input(<keyvalue_field>) new_keyvalue_field() keyvalue_field()
Key Value Field server

Blocks core elements

Functions to build blocks

new_block() is_block()
Blocks
initialize_block()
Initialize block generic
is_initialized()
S3 generic for initialization
generate_code()
Generate code generic
evaluate_block()
Evaluate a block generic
update_fields()
Update fields generic
layout()
Default layout for fields Default layout for fields, places fields on rows and collapses parts of inputs when there are too many.
create_block()
Create a new block

Blocks

Blocks contain field. They return a dataframe

new_dataset_block()
Data block constructor
new_upload_block()
Upload block constructor
new_filesbrowser_block()
Files browser block constructor
new_parser_block() new_csv_block() new_rds_block() new_json_block() new_xpt_block()
Data parser block constructor
new_result_block()
Result block
new_filter_block()
Filter block
new_select_block()
Select block
new_summarize_block()
Summarize block
new_arrange_block()
Arrange block
new_group_by_block()
Group by block
new_join_block()
Join block
new_head_block()
Head block
new_mutate_block()
Mutate block constructor

Stack

Stack contains multiple block.

Workspace

Workspace contains multiple stacks.

Registry

Registry of blocks

Server utilities

Shiny server elements

server_code()
Server code generic
server_output()
Server output generic
add_block_server() add_block() add_block_ui()
Add block server generic
generate_server()
Generic for server generation
handle_remove()
Remove stack/block generic
init()
Generic for server initialisation

UI utilities

Shiny ui elements

generate_server(<keyvalue_field>) ui_input(<keyvalue_field>) new_keyvalue_field() keyvalue_field()
Key Value Field server
uiCode()
Copy code generic
uiOutputBlock()
Render block output generic
ui_fields()
Block fields generic
ui_input() input_ids() ui_update()
UI input generic
add_block_server() add_block() add_block_ui()
Add block server generic
download_ui()
Block download generic
exprs_ui()
Create a UI element for expressions
generate_ui() input_ids(<list_field>)
UI
block_body()
Block body generic
block_code()
Block code generic
block_header()
Block header generic
data_info()
Data info generic
remove_button()
Block remove generic
inject_remove_button()
Inject remove button into block header
stack_header()
Stack header generic
block_icon()
Block icon generic
useBlockr()
Use Blockr Imports blockr dependencies
off_canvas()
Bootstrap 5 offcanvas
create_app_link()
Create shinylive iframe

Serialisation utils

To save and restore a workspace

Workspace locking

Utils to lock a workspace

lock() unlock() toggle_lock() is_locked() observe_lock()
Lock
init_lock()
Initialise Lock Initialises the lock reactive value.

Logging utils

Track log messages