cdisc-org / cdisc-org/DataExchange-DatasetJson

Support for partialDate and similars

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
41
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm working on an implementation to convert SDTM datasets to CDISC JSON.

In trying to complete the "columns" property, I noticed that the documentation does not provide context on how exactly the datatypes from ODM should be mapped to those from JSON.

The relevant part from the doc simply lists the supported types.
(found at https://github.com/cdisc-org/DataExchange-DatasetJson/blob/master/doc/dataset-json1-1.md#column-metadata)

I can logically assign most normal datatypes like "text" is "string" etc.
But some datatypes from ODM like "partialDate" or "intervalDatetime" are not mentioned.

Somewhat related;
I noticed that in the example ae.json - AESTDTC is as type "date" whilst in lb.json - LBDTC is type "string" (but without length property).
Not sure what to use now for dates.

Can this be clarified how dates, partialdates and related items are to be displayed in the JSON?

Thanks in advance,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.