Name: synapsebridgehelpers
Owner: Sage Bionetworks
Description: null
Created: 2017-05-12 16:36:43.0
Updated: 2017-08-15 20:43:57.0
Pushed: 2017-09-21 17:39:10.0
Homepage: null
Size: 54
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This package contains helper functions for dealing with data in Synapse that has been generated from bridge apps.
The goal is to provide
Individuals are identified by healthCodes in bridge but can optionally be associated with a externalId. But since the externalId doesn't have to be associated with every record (e.g. if the recordId is assigned after data has been contributed) we provide ways of identifying the healthCodes associated with an externalId anywhere in a list of tables.
rt synapseclient, synapsebridgehelpers
= synapseclient.login()
es = synapsebridgehelpers.get_tables(syn, 'syn3270406')
p = synapsebridgehelpers.externalIds2healthCodes(syn, tables['table.id'])