https://github.com/mskcc/redcap-data-dictionary-diff
A tool for analyzing and displaying the differences between two REDCap data dictionaries. Outputs into an Excel spreadsheet.
https://github.com/mskcc/redcap-data-dictionary-diff
Last synced: about 1 month ago
JSON representation
A tool for analyzing and displaying the differences between two REDCap data dictionaries. Outputs into an Excel spreadsheet.
- Host: GitHub
- URL: https://github.com/mskcc/redcap-data-dictionary-diff
- Owner: mskcc
- License: other
- Created: 2022-06-20T14:11:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-20T14:14:44.000Z (almost 4 years ago)
- Last Synced: 2025-01-10T21:21:59.509Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
Instructions:
1. Clone this repository and `cd` into it in a terminal
2. Create a virtual environment: `python -m venv env`
3. Activate your virtual environment: `source env/bin/activate`
4. Run `pip install -r requirements.txt`
5. Run `python diff.py {old_file_path} {new_file_path}` (You should be able to drag the file paths from finder into the terminal window)
Ex: `python diff.py COVID_DDict_4-20_1215a*\(2\).xlsx COVID_DDict_4-22_1215a.xlsx`
Note: The new file will be created in this folder with the default filename DataDictionary*{today's date}.xlsx. If you would like to choose your own filename, you can add that name (without the file extension) as an argument after the two file paths. Ex: `python3 diff.py COVID_DDict_4-20_1215a*\(2\).xlsx COVID_DDict_4-22_1215a.xlsx NewReconciledDataDict`
Note: If your filenames or your desired new file name has spaces in it (not recommended), you will have to surround them with quotes when calling the function.