Launch Interactive Concept Set Load Editor
Source:R/manifest_conceptSets.R
launchConceptSetsLoadEditor.RdOpens an interactive Shiny application for creating, viewing and editing the concept sets load metadata file (conceptSetsLoad.csv). This allows you to add, remove, and modify concept set metadata including labels, tags, domain, and ATLAS IDs without manually editing the CSV file.
Usage
launchConceptSetsLoadEditor(
conceptSetsFolderPath = here::here("inputs/conceptSets")
)Arguments
- conceptSetsFolderPath
Character. Path to conceptSets folder where conceptSetsLoad.csv will be saved. Defaults to "inputs/conceptSets".
Details
Features:
View existing concept sets in a data table
Edit cells directly in the table
Add new concept sets rows with form inputs
Delete selected rows
Save to conceptSetsLoad.csv
Input validation for required fields
Table Columns:
atlasId: ATLAS cohort definition ID (numeric)label: Cohort name/label (character) - editing updates file_name automaticallycategory: Broad category (character)subCategory: Sub-category (character)sourceCode: Whether this concept set represents source codes (TRUE/FALSE)domain: OMOP domain (drug_exposure, condition_occurrence, measurement, procedure)file_name: Auto-generated asjson/{label}.json(read-only)
Workflow:
Call this function to launch the editor app
Add/edit concept sets as needed
Click "Save Concept Set Load File" to save to inputs/conceptSets/conceptSetsLoad.csv
Use
importAtlasConceptSets()to import conceptSets from ATLASUse
loadConceptSetManifest()to load the imported conceptSets