This Shiny application allows users to merge two tabular data sources—such as CSV or TXT files, optionally with SQL dump support—into a single, harmonized data frame. It is designed for pre-processing fragmented lab data before importing into systems like eLabFTW.
- Upload two files in
.csv
or.txt
format - Extract column headers from
CREATE TABLE
SQL dump files (if headers are missing) - Configure key columns for merging
- Join types supported:
- Inner Join
- Outer Join
- Left Join
- Right Join
- Automatic renaming of columns to avoid duplication
- Preview of input files and final merged result
- Export to
.csv
or.xlsx
format with custom filename
This tool is useful for consolidating legacy inventory files from multiple departments or sources. It reduces the manual effort of combining and cleaning data prior to ELN import and supports transparent, structured data workflows.
install.packages(c("shiny", "readr", "writexl", "stringr", "DT", "shinyjs"))
- Launch the application:
shiny::runApp("path/to/csv-sql-merger")
R ≥ 4.0 Packages:
- shiny
- readr
- writexl
- stringr
- DT
- shinyjs
- app.R – Main application code
- screenshot_sql_merger.png – Placeholder for interface screenshot
- readme.html – Optional help documentation