Launch Shiny App for Extracting Study Data
df_shiny_extract.Rd
Launches a Shiny application to manage the data extraction phase. It helps identify studies pending extraction, generate prompts, optionally run LLM extraction, allow manual JSON input/editing, and save results to the cache.
Arguments
- launch.browser
Logical, passed to
shiny::runApp
. Whether to launch the app in the default browser.- ...
Additional arguments passed to
shiny::runApp
(e.g.,port
,host
).
Details
Before running the app:
Ensure
metawoRld
andDataFindR
packages are installed and accessible.Ensure the target
metawoRld
project directory exists and contains a valid_metawoRld.yml
.Ensure assessment results exist in the project's cache (
.metawoRld_cache/datafindr/assessment/
).If triggering API calls, ensure the relevant API key (e.g.,
OPENAI_API_KEY
) is set in your environment.For LLM extraction, you currently need to provide a path to a plain text file containing the full paper content. PDF processing within the app is not yet implemented.
The
rclipboard
package is needed for the 'Copy Prompt' button.