Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQLite option to scraper and aggregator #6

Open
ccwoolfolk opened this issue Feb 3, 2021 · 0 comments
Open

Add SQLite option to scraper and aggregator #6

ccwoolfolk opened this issue Feb 3, 2021 · 0 comments

Comments

@ccwoolfolk
Copy link
Contributor

When processing a large number of files, it may be more efficient to write to a simple sqlite table instead of creating a json file for every dicom file. For example:

attribute value
"0010,0020" "patient-id-12345"
"0010,0040" "M"
... ...
"0010,0040" "O"

This functionality can be used by passing an attribute to the script. E.g., python scraper.py --use-sqlite "sqlite-db-file-name".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant