Behavioral Insight Design: A Toolkit for Integrating Behavioral Science in UI/UX Design
bidux: Behavioral Insight Design: A Toolkit for Integrating Behavioral...
Build suggestions for a specific concept
Build suggestion groups organized by concept
Create notice stage for confusion patterns
Create notice stage for delayed interactions
Create notice stage for error patterns
Create notice stage for navigation issues
Create notice stage for unused input
Remove duplicate warning-suggestion pairs
Auto-detect telemetry format from file extension
Calculate severity metrics for an issue
Classify issue type from issue key
Create tidy issues tibble from notice issues list
Extract global telemetry flags from issues and events
Suggest theory from text with confidence scoring and messaging
Extract specific stage from bid_result
Extract theory concepts from Stage 1 (Notice)
Find confusion patterns (rapid repeated changes)
Find sessions with delayed first interaction
Find error patterns in telemetry
Find navigation drop-offs or underused pages
Find unused or under-used inputs
Convert nested suggestion groups to flat tibble
Format field label based on output format
Get accessibility recommendations for a given context
Generate Cognitive Load Theory suggestions
Get bias mitigation strategies for concepts
Internal function to get concepts data from external files
Get consolidated suggestion rules for all BID stages
Get default concepts data with lazy loading
Get default layout mappings (fallback)
Get default theory mappings (fallback)
Generate Dual-Processing Theory suggestions
Fallback concepts data for emergency use
Generate fallback suggestions for stages without specific rules
Generate generic suggestions for unrecognized concepts
Generate Information Scent suggestions
Get concepts recommended for a layout
Get metadata from bid_stage object
Generate User Onboarding suggestions
Generate Progressive Disclosure suggestions
Generate Principle of Proximity suggestions
Get stage name from bid_stage object
Generate Visual Hierarchy suggestions
Infer concepts from Stage 2 (Interpret) story elements
Check if object is a bid_stage
Check if workflow is complete (has all 5 stages)
Generate layout selection rationale
Load accessibility guidelines
Load concept-bias mappings
Load concepts data from external file with caching
Load layout-concept mappings
Load theory mappings from external file or use defaults
Create bias mitigations tibble
Create a BID result collection object (internal constructor)
Create a BID stage result object (internal constructor)
Create Notice stage from single telemetry issue (sugar)
Safe access to data_story elements from previous stage
Assign difficulty rating based on components and suggestion complexity
Constructor for BID stage objects
Document Dashboard Structure Stage in BID Framework
Apply context-based scoring adjustments
Apply suggestion rules to context data
Convert bid_issues object to tibble
Convert bid_stage to tibble
Assign category based on suggestion content and concept
Document User Behavior Anticipation Stage in BID Framework
Get detailed information about a specific concept
Search BID Framework Concepts
Extract telemetry flags from bid_issues object
Get current quiet mode setting
Ingest telemetry data and identify UX friction points
Document User Interpretation Stage in BID Framework
Create Notice stage from individual telemetry issue
Safely convert text to lowercase with null handling
Document User Notice Stage in BID Framework
Create multiple Notice stages from telemetry issues
Create pipeline of Notice stages from top telemetry issues (sugar)
Quick UX Suggestions for R Dashboard Developers
Generate BID Framework Report
Constructor for BID result collection objects
Set global quiet mode for bidux functions
Suggest UI Components Based on BID Framework Analysis
Get predefined telemetry sensitivity presets
Concise telemetry analysis with tidy output
Document User Validation Stage in BID Framework
Temporarily suppress bidux messages
Create a data story object
Create user personas tibble
Normalize telemetry column names
Print method for bias mitigations objects
Print method for data story objects
Print method for bid_issues objects
Print method for BID result objects
Print method for BID stage objects
Print method for user personas objects
Rank and sort suggestions within each group
Read telemetry data from file or connection
Read telemetry from JSON log file
Read telemetry from SQLite database
Generate ranked, concept-grouped, actionable UI/UX suggestions
Suggest layout based on previous stage content using heuristics
Suggest theory based on problem and evidence using mappings
Summary method for BID result objects
Summary method for BID stage objects
Validate BID result object
Validate BID stage object
Validate loaded concepts data structure
Common validation utility for bidux functions (DRY principle)
Provides a framework and toolkit to guide R dashboard developers in implementing the Behavioral Insight Design (BID) framework. The package offers functions for documenting each of the five stages (Interpret, Notice, Anticipate, Structure, and Validate), along with a comprehensive concept dictionary. Works with both 'shiny' applications and 'Quarto' dashboards.