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

Enhancement request for write dataset json #34

Open
wangw106 opened this issue Jun 5, 2024 · 0 comments
Open

Enhancement request for write dataset json #34

wangw106 opened this issue Jun 5, 2024 · 0 comments

Comments

@wangw106
Copy link

wangw106 commented Jun 5, 2024

Background Information

Thanks for providing this package.
Can a new function on top of write_dataset_json be added to convert a study package to json files by taking care of the metadata population by reading it from the define.xml file?

Given an example in SEND, a SEND package has xpt files (ts.xpt, ta.xpt, bw.xpt,lb.xpt....) and define.xml file for the study, if a user wants to convert the xpt files to json files for the study, an easy way is to read the data from xpt files and read the metadata from the define.xml. Can a write function or convert function be provided as this: Take the input of the folder name include the SEND packages, also take the folder name as the json files output, read each xpt file under the input folder, read the xml file under the input folder as metadata, convert the package using the data and metadata. write the converted json files to the json folder specified.
This is similar for SDTM and ADAM packages.

Definition of Done

No response

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