Extend the CTG base trial by what Lilly's API is providing. More...
Public Member Functions | |
def | __init__ |
def | cached_profile_filename |
def | check_cache |
def | retrieve_profile |
![]() | |
def | __init__ |
def | nct |
def | title |
Construct the best title possible. More... | |
def | title |
def | entered |
How many years ago was the trial entered into ClinicalTrials.gov. More... | |
def | last_updated |
How many years ago was the trial last updated. More... | |
def | interventions |
Returns a set of intervention types of the receiver. More... | |
def | phases |
Returns a set of phases in drug trials. More... | |
def | date |
Returns a tuple of the string date and the parsed Date object for the requested JSON object. More... | |
def | js |
The JSON to return for a JSON API call. More... | |
def | locations_closest_to |
Returns a list of tuples, containing the trial location and their distance to the provided latitude and longitude. More... | |
def | cleanup_keywords |
Cleanup keywords. More... | |
Public Attributes | |
profile | |
Static Public Attributes | |
string | tp_cache_dir = 'target-profile-cache' |
Extend the CTG base trial by what Lilly's API is providing.
Provides a cache for downloaded and codified target profiles.
def clinicaltrials.lillyserver.LillyTrial.__init__ | ( | self, | |
nct = None , |
|||
json = None |
|||
) |
def clinicaltrials.lillyserver.LillyTrial.cached_profile_filename | ( | ) |
def clinicaltrials.lillyserver.LillyTrial.check_cache | ( | self | ) |
def clinicaltrials.lillyserver.LillyTrial.retrieve_profile | ( | self, | |
server | |||
) |
clinicaltrials.lillyserver.LillyTrial.profile |
|
static |