In [1]:
%pylab inline
import datajoint as dj
import patient_tests_schema as pts # schema varable beomes available


Populating the interactive namespace from numpy and matplotlib
DataJoint 0.4.1 (Oct 28, 2016)
Loading local settings from C:\Users\redge/.datajoint_config.json
Connecting root@localhost:3306

plot entity-relationship diagram


In [2]:
dj.ERD(pts.schema).draw()


populate data


In [5]:
# Create fake course registration data
pts.create_fake_data()

In [ ]:


In [6]:
# Query courses
print(pts.Person())

# Query Display Xrays for a particular person


*person_id    first     last    
+-----------+ +-------+ +------+

 (0 tuples)


In [64]: