cRunch is a Shiny application designed for interactive data analysis and visualization. It allows users to upload CSV files, apply filters using a dynamic query builder, and visualize the data. Additionally, users can download the filtered dataset for offline analysis.
You can find a version of the app here -> https://crunch.wytamma.com/
Important
cRunch operates entirely on the client-side, meaning all computations are performed in your browser. Your data remains on your computer and is never transmitted to external servers. This ensures that cRunch is safe for handling sensitive data, as it maintains your privacy by not exposing your information beyond your local environment.
![image](https://private-user-images.githubusercontent.com/13726005/327419816-95e0f814-a1e4-4f78-8f0d-779bba9b0e8e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxOTUzMzIsIm5iZiI6MTcyNDE5NTAzMiwicGF0aCI6Ii8xMzcyNjAwNS8zMjc0MTk4MTYtOTVlMGY4MTQtYTFlNC00Zjc4LThmMGQtNzc5YmJhOWIwZThlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDIzMDM1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY2NWVjZTk3ZTQxNWI1YWViYWU2OTZiOWI5ZmQ4ODQ3YjgzMTkyMGNlMDgzZDllNmFmOWYyNmNmNDJlNTYyZWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kTQz7mtHFlGLScTLNPsOA5SRnCuZ7U06quAH8O_h-_M)
- CSV File Upload: Users can upload CSV files to be analyzed directly in the app.
- Data Filtering: A dynamic query builder allows users to specify filters based on the data columns.
- Data Visualization: Data is displayed in a scrollable and sortable table, making it easy to browse through even large datasets.
- Data Download: Users can download the filtered data as a CSV file, allowing for further analysis outside the app.
To run cRunch locally, you need to have R and Shiny installed on your machine. Follow these steps to get started:
-
Install R:
- Download and install R from The Comprehensive R Archive Network (CRAN).
-
Install Shiny and Required Packages:
- Open R and install the Shiny package along with other required packages by running the following commands:
install.packages("shiny") install.packages("DT") install.packages("jqbr")
- Open R and install the Shiny package along with other required packages by running the following commands:
-
Run the App:
- You can run the app by saving the script files
ui.R
andserver.R
in a directory and then running the following command in R:library(shiny) runApp('path_to_app_directory')
- You can run the app by saving the script files
- Click the "Choose CSV File" button in the sidebar to upload your data file. Ensure your CSV file has the appropriate format, using commas, semicolons, or tabs as separators.
- After uploading the data, use the query builder in the sidebar to apply filters based on your data's specific attributes.
- The main panel displays the data in a DataTable. You can sort and scroll through this table to review your data.
- Use the "Download Data" button to save the currently viewed (and filtered) data to your machine.
Contributions to cRunch are welcome! Please feel free to fork the repository, make changes, and submit pull requests. You can also open issues if you find bugs or have feature suggestions.
This project is open-source and available under the MIT License.