Skip to content

This project is used to manage the JSON representation for Clinical Datasets (a complement to the Dataset-XML representation) @2022

Notifications You must be signed in to change notification settings

CellCS/DataExchange-DatasetJson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataExchange-DatasetJson

This project is used to manage the JSON representation for Clinical Datasets (a complement to the Dataset-XML representation) @2022

APIs using Dataset-JSON

Create FAST-API and MySQL docker containers to provide data requests

Parameters are: filename (like adam/adae), fileformat (json...)

Current files are examples that provided by cdisc-org DataExchange-DatasetJson

Steps

pyenvcreate.sh will create virtul env for python codes for:

  1. FASTAPI
  2. Python code to read example files and write into connecrted mysql docker container.

reset.sh will generate password for mysql container and FAST-API authorization information.

localtest folder create one mysql container in local machine.

other docker-compose file and dockerfile will deploy into real env.

Testing

Local testing: image

GET one dataset (here is adae.json):

Screen Shot 2022-10-18 at 8 12 58 PM

GET one dataset by using file name and file format

Screen Shot 2022-10-18 at 8 50 11 PM

If turn on API authorization:

Screen Shot 2022-10-18 at 8 15 19 PM

GET Format

format

GET File Datasets

examplelist

Arch

Screen Shot 2022-10-18 at 7 21 41 PM

About

This project is used to manage the JSON representation for Clinical Datasets (a complement to the Dataset-XML representation) @2022

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages