Code Monkey home page Code Monkey logo

smart_sample_patients's Introduction

SMART TEST DATA GENERATOR

This generator uses the data files in the 'data' directory to generate
SMArt RDF test data.  The files in the data directory are tab-delimited 
tables that can be edited and extended with new data as needed.

All the python scripts are in the 'bin' directory, and should be run from
that directory.  (The python code requires python 2.6 with argparse and
rdflib added via easy_install (on OSX 10.6); or just rdflib added on
Ubuntu 10.10.)

The main script for general use is generate.py, the other files in 'bin' 
are basically modules supporting generate.py. The file 'testdata.py' 
contains most of the constant declarations and utility functions that
drive the system configuration. The file 'generate.py' contains all 
the RDF formatting code. 

From the 'bin' directory, run:

   python generate.py --help

To get a general help message.

The RC4 test data files in the 'test-data' directory were generated by:

   python generate.py --write ../test-data 

And the 'summary.txt' file was added to 'test-data' by running:

   python generate.py --summary > ../test-data/summary.txt

A good way to look at a single patient, with patient ID, PID, is:

   python generate.py --summary PID

Or to view the RDF for a given patient:

   python generate.py --rdf PID | less

smart_sample_patients's People

Contributors

arjunsanyal avatar jmandel avatar p2 avatar thisisdhaas avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.