Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
study_jobs.h File Reference
Include dependency graph for study_jobs.h:

Go to the source code of this file.

Functions

STUDY_JOB_PREFIX NamedParameterType STUDY_ID STUDY_JOB_STRUCT_VAL ("ST Id", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_NAME STUDY_JOB_STRUCT_VAL ("ST Name", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_LINK STUDY_JOB_STRUCT_VAL ("ST Link", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_ASPECT STUDY_JOB_STRUCT_VAL ("ST Field Aspect", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_SLOPE STUDY_JOB_STRUCT_VAL ("ST Slope", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_DETAIL_LEVEL STUDY_JOB_STRUCT_VAL ("The level of data to get for matching Studies", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_ADD_STUDY STUDY_JOB_STRUCT_VAL ("Add Study", PT_BOOLEAN)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_THIS_CROP STUDY_JOB_STRUCT_VAL ("This Crop", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PREVIOUS_CROP STUDY_JOB_STRUCT_VAL ("Previous Crop", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_FIELD_TRIALS_LIST STUDY_JOB_STRUCT_VAL ("Field Trials", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_LOCATIONS_LIST STUDY_JOB_STRUCT_VAL ("Locations", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_DESCRIPTION STUDY_JOB_STRUCT_VAL ("ST Description", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_DESIGN STUDY_JOB_STRUCT_VAL ("ST Design", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_GROWING_CONDITIONS STUDY_JOB_STRUCT_VAL ("ST Growing Conditions", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PHENOTYPE_GATHERING_NOTES STUDY_JOB_STRUCT_VAL ("ST Phenotype Gathering Notes", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLAN_CHANGES STUDY_JOB_STRUCT_VAL ("ST Plan Changes", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_DATA_NOT_INCLUDED STUDY_JOB_STRUCT_VAL ("ST Data not included", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PHYSICAL_SAMPLES_COLLECTED STUDY_JOB_STRUCT_VAL ("ST Samples collected", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_NAME STUDY_JOB_STRUCT_VAL ("ST Curator name", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_EMAIL STUDY_JOB_STRUCT_VAL ("ST Curator email", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_ROLE STUDY_JOB_STRUCT_VAL ("ST Curator role", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_AFFILATION STUDY_JOB_STRUCT_VAL ("ST Curator affiliation", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_ORCID STUDY_JOB_STRUCT_VAL ("ST Curator orcid", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_NAME STUDY_JOB_STRUCT_VAL ("ST Contact name", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_EMAIL STUDY_JOB_STRUCT_VAL ("ST Contact email", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_ROLE STUDY_JOB_STRUCT_VAL ("ST Contact role", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_AFFILATION STUDY_JOB_STRUCT_VAL ("ST Contact affiliation", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_ORCID STUDY_JOB_STRUCT_VAL ("ST Contact orcid", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_SEARCH_STUDIES STUDY_JOB_STRUCT_VAL ("ST Search Studies", PT_BOOLEAN)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_SOWING_YEAR STUDY_JOB_STRUCT_VAL ("ST Sowing Year", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_HARVEST_YEAR STUDY_JOB_STRUCT_VAL ("ST Harvest Year", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_WEATHER_LINK STUDY_JOB_STRUCT_VAL ("ST Weather", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_SHAPE_DATA STUDY_JOB_STRUCT_VAL ("ST Shape Data", PT_JSON)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_SHAPE_NOTES STUDY_JOB_STRUCT_VAL ("ST Shape Data Notes", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_NUM_PLOT_ROWS STUDY_JOB_STRUCT_VAL ("ST Num Rows", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_NUM_PLOT_COLS STUDY_JOB_STRUCT_VAL ("ST Num Columns", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_NUM_REPLICATES STUDY_JOB_STRUCT_VAL ("ST Num Replicates", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_WIDTH STUDY_JOB_STRUCT_VAL ("ST Plot Width", PT_UNSIGNED_REAL)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_LENGTH STUDY_JOB_STRUCT_VAL ("ST Plot Length", PT_UNSIGNED_REAL)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_ROWS_PER_BLOCK STUDY_JOB_STRUCT_VAL ("ST Rows Per Block", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_COLS_PER_BLOCK STUDY_JOB_STRUCT_VAL ("ST Cols Per Block", PT_UNSIGNED_INT)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_HGAP STUDY_JOB_STRUCT_VAL ("ST Plot Horizontal Gap", PT_UNSIGNED_REAL)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_VGAP STUDY_JOB_STRUCT_VAL ("ST Plot Vertical Gap", PT_UNSIGNED_REAL)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_BLOCK_HGAP STUDY_JOB_STRUCT_VAL ("ST Plot Block Horizontal Gap", PT_UNSIGNED_REAL)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_BLOCK_VGAP STUDY_JOB_STRUCT_VAL ("ST Plot Block Vertical Gap", PT_UNSIGNED_REAL)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_PHOTO STUDY_JOB_STRUCT_VAL ("Photo", PT_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_IMAGE_NOTES STUDY_JOB_STRUCT_VAL ("ST Image Notes", PT_LARGE_STRING)
 
STUDY_JOB_PREFIX NamedParameterType STUDY_MEASURED_VARIABLES STUDY_JOB_STRUCT_VAL ("ST Measured Variables", PT_STRING)
 
bool AddSubmissionStudyParams (ServiceData *data_p, ParameterSet *param_set_p, DataResource *resource_p)
 
bool RunForSubmissionStudyParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
 
bool GetSubmissionStudyParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
bool GetSubmissionStudyParameterTypeForDefaultPlotNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
bool AddSearchStudyParams (ServiceData *data_p, ParameterSet *param_set_p)
 
bool RunForSearchStudyParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
 
bool GetSearchStudyParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
json_t * GetAllStudiesAsJSON (const FieldTrialServiceData *data_p, bool full_data_flag)
 
bool SetUpStudiesListParameter (const FieldTrialServiceData *data_p, Parameter *param_p, const Study *active_study_p, const bool empty_option_flag)
 
bool AddStudyToServiceJob (ServiceJob *job_p, Study *study_p, const ViewFormat format, JSONProcessor *processor_p, FieldTrialServiceData *data_p)
 
char * GetStudyAsString (const Study *study_p)
 
const KeyValuePairGetAspect (const char *aspect_value_s)
 
json_t * GetAllStudiesAsJSONInViewFormat (FieldTrialServiceData *data_p, const ViewFormat format)
 
StudyGetStudyFromResource (DataResource *resource_p, const NamedParameterType study_param_type, FieldTrialServiceData *dfw_data_p)
 
void FindAndAddStudyToServiceJob (const char *id_s, const ViewFormat format, ServiceJob *job_p, JSONProcessor *processor_p, const FieldTrialServiceData *data_p)
 
json_t * GetStudyJSONForId (const char *id_s, const ViewFormat format, JSONProcessor *processor_p, char **study_name_ss, const FieldTrialServiceData *data_p)
 
json_t * GetStudyDistinctPhenotypesAsJSON (bson_oid_t *study_id_p, const FieldTrialServiceData *data_p)
 
json_t * GetStudyDistinctAccessionsAsJSON (bson_oid_t *study_id_p, const FieldTrialServiceData *data_p)
 
OperationStatus RemovePlotsForStudyById (const char *id_s, FieldTrialServiceData *data_p)
 
json_t * GetAllStudyIds (Service *service_p)
 
struct TreatmentFactorGetOrCreateTreatmentFactorForStudy (Study *study_p, const bson_oid_t *treatment_id_p, const FieldTrialServiceData *data_p)
 
struct TreatmentFactorGetTreatmentFactorForStudy (Study *study_p, const bson_oid_t *treatment_id_p, const FieldTrialServiceData *data_p)
 
struct TreatmentFactorGetTreatmentFactorForStudyByUrl (const Study *study_p, const char *treatment_url_s, const FieldTrialServiceData *data_p)
 
json_t * GetStudyAsFrictionlessDataResource (const Study *study_p, const FieldTrialServiceData *data_p)
 
bool SaveStudyAsFrictionlessData (Study *study_p, FieldTrialServiceData *data_p)
 
json_t * GetStudyDistinctPhenotypesAsFrictionlessDataJSON (bson_oid_t *study_id_p, const FieldTrialServiceData *data_p)
 
OperationStatus CalculateStudyStatistics (Study *study_p, const FieldTrialServiceData *service_data_p)
 
OperationStatus GenerateStatisticsForAllStudies (ServiceJob *job_p, FieldTrialServiceData *data_p)
 
OperationStatus GenerateStatisticsForStudy (Study *study_p, ServiceJob *job_p, FieldTrialServiceData *data_p)
 
bool BackupStudyByIdString (const char *id_s, FieldTrialServiceData *data_p)
 
bool BackupStudy (Study *study_p, const char *id_s, FieldTrialServiceData *data_p)
 
OperationStatus DeleteStudyById (const char *id_s, ServiceJob *job_p, FieldTrialServiceData *data_p, const bool backup_flag)
 
OperationStatus DeleteStudyFromLuceneIndexById (const char *id_s, uuid_t uuid, FieldTrialServiceData *data_p)
 
OperationStatus RemoveStudyPhenotypesFromStudyById (const char *id_s, FieldTrialServiceData *data_p)
 

Function Documentation

◆ STUDY_JOB_STRUCT_VAL() [1/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_ID STUDY_JOB_STRUCT_VAL ( "ST Id"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [2/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_NAME STUDY_JOB_STRUCT_VAL ( "ST Name"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [3/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_LINK STUDY_JOB_STRUCT_VAL ( "ST Link"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [4/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_ASPECT STUDY_JOB_STRUCT_VAL ( "ST Field Aspect"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [5/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_SLOPE STUDY_JOB_STRUCT_VAL ( "ST Slope"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [6/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_DETAIL_LEVEL STUDY_JOB_STRUCT_VAL ( "The level of data to get for matching Studies"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [7/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_ADD_STUDY STUDY_JOB_STRUCT_VAL ( "Add Study ,
PT_BOOLEAN   
)

◆ STUDY_JOB_STRUCT_VAL() [8/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_THIS_CROP STUDY_JOB_STRUCT_VAL ( "This Crop ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [9/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PREVIOUS_CROP STUDY_JOB_STRUCT_VAL ( "Previous Crop ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [10/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_FIELD_TRIALS_LIST STUDY_JOB_STRUCT_VAL ( "Field Trials"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [11/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_LOCATIONS_LIST STUDY_JOB_STRUCT_VAL ( "Locations"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [12/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_DESCRIPTION STUDY_JOB_STRUCT_VAL ( "ST Description"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [13/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_DESIGN STUDY_JOB_STRUCT_VAL ( "ST Design"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [14/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_GROWING_CONDITIONS STUDY_JOB_STRUCT_VAL ( "ST Growing Conditions"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [15/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PHENOTYPE_GATHERING_NOTES STUDY_JOB_STRUCT_VAL ( "ST Phenotype Gathering Notes"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [16/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLAN_CHANGES STUDY_JOB_STRUCT_VAL ( "ST Plan Changes"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [17/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_DATA_NOT_INCLUDED STUDY_JOB_STRUCT_VAL ( "ST Data not included"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [18/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PHYSICAL_SAMPLES_COLLECTED STUDY_JOB_STRUCT_VAL ( "ST Samples collected"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [19/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_NAME STUDY_JOB_STRUCT_VAL ( "ST Curator name"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [20/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_EMAIL STUDY_JOB_STRUCT_VAL ( "ST Curator email"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [21/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_ROLE STUDY_JOB_STRUCT_VAL ( "ST Curator role"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [22/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_AFFILATION STUDY_JOB_STRUCT_VAL ( "ST Curator affiliation"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [23/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CURATOR_ORCID STUDY_JOB_STRUCT_VAL ( "ST Curator orcid"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [24/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_NAME STUDY_JOB_STRUCT_VAL ( "ST Contact name"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [25/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_EMAIL STUDY_JOB_STRUCT_VAL ( "ST Contact email"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [26/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_ROLE STUDY_JOB_STRUCT_VAL ( "ST Contact role"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [27/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_AFFILATION STUDY_JOB_STRUCT_VAL ( "ST Contact affiliation"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [28/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_CONTACT_ORCID STUDY_JOB_STRUCT_VAL ( "ST Contact orcid"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [29/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_SEARCH_STUDIES STUDY_JOB_STRUCT_VAL ( "ST Search Studies"  ,
PT_BOOLEAN   
)

◆ STUDY_JOB_STRUCT_VAL() [30/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_SOWING_YEAR STUDY_JOB_STRUCT_VAL ( "ST Sowing Year"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [31/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_HARVEST_YEAR STUDY_JOB_STRUCT_VAL ( "ST Harvest Year"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [32/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_WEATHER_LINK STUDY_JOB_STRUCT_VAL ( "ST Weather"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [33/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_SHAPE_DATA STUDY_JOB_STRUCT_VAL ( "ST Shape Data"  ,
PT_JSON   
)

◆ STUDY_JOB_STRUCT_VAL() [34/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_SHAPE_NOTES STUDY_JOB_STRUCT_VAL ( "ST Shape Data Notes"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [35/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_NUM_PLOT_ROWS STUDY_JOB_STRUCT_VAL ( "ST Num Rows"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [36/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_NUM_PLOT_COLS STUDY_JOB_STRUCT_VAL ( "ST Num Columns"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [37/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_NUM_REPLICATES STUDY_JOB_STRUCT_VAL ( "ST Num Replicates"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [38/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_WIDTH STUDY_JOB_STRUCT_VAL ( "ST Plot Width"  ,
PT_UNSIGNED_REAL   
)

◆ STUDY_JOB_STRUCT_VAL() [39/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_LENGTH STUDY_JOB_STRUCT_VAL ( "ST Plot Length"  ,
PT_UNSIGNED_REAL   
)

◆ STUDY_JOB_STRUCT_VAL() [40/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_ROWS_PER_BLOCK STUDY_JOB_STRUCT_VAL ( "ST Rows Per Block"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [41/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_COLS_PER_BLOCK STUDY_JOB_STRUCT_VAL ( "ST Cols Per Block"  ,
PT_UNSIGNED_INT   
)

◆ STUDY_JOB_STRUCT_VAL() [42/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_HGAP STUDY_JOB_STRUCT_VAL ( "ST Plot Horizontal Gap"  ,
PT_UNSIGNED_REAL   
)

◆ STUDY_JOB_STRUCT_VAL() [43/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_VGAP STUDY_JOB_STRUCT_VAL ( "ST Plot Vertical Gap"  ,
PT_UNSIGNED_REAL   
)

◆ STUDY_JOB_STRUCT_VAL() [44/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_BLOCK_HGAP STUDY_JOB_STRUCT_VAL ( "ST Plot Block Horizontal Gap"  ,
PT_UNSIGNED_REAL   
)

◆ STUDY_JOB_STRUCT_VAL() [45/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PLOT_BLOCK_VGAP STUDY_JOB_STRUCT_VAL ( "ST Plot Block Vertical Gap"  ,
PT_UNSIGNED_REAL   
)

◆ STUDY_JOB_STRUCT_VAL() [46/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_PHOTO STUDY_JOB_STRUCT_VAL ( "Photo"  ,
PT_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [47/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_IMAGE_NOTES STUDY_JOB_STRUCT_VAL ( "ST Image Notes"  ,
PT_LARGE_STRING   
)

◆ STUDY_JOB_STRUCT_VAL() [48/48]

STUDY_JOB_PREFIX NamedParameterType STUDY_MEASURED_VARIABLES STUDY_JOB_STRUCT_VAL ( "ST Measured Variables"  ,
PT_STRING   
)

◆ AddSubmissionStudyParams()

bool AddSubmissionStudyParams ( ServiceData data_p,
ParameterSet param_set_p,
DataResource resource_p 
)

◆ RunForSubmissionStudyParams()

bool RunForSubmissionStudyParams ( FieldTrialServiceData data_p,
ParameterSet param_set_p,
ServiceJob job_p 
)

◆ GetSubmissionStudyParameterTypeForNamedParameter()

bool GetSubmissionStudyParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ GetSubmissionStudyParameterTypeForDefaultPlotNamedParameter()

bool GetSubmissionStudyParameterTypeForDefaultPlotNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ AddSearchStudyParams()

bool AddSearchStudyParams ( ServiceData data_p,
ParameterSet param_set_p 
)

◆ RunForSearchStudyParams()

bool RunForSearchStudyParams ( FieldTrialServiceData data_p,
ParameterSet param_set_p,
ServiceJob job_p 
)

◆ GetSearchStudyParameterTypeForNamedParameter()

bool GetSearchStudyParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ GetAllStudiesAsJSON()

json_t* GetAllStudiesAsJSON ( const FieldTrialServiceData data_p,
bool  full_data_flag 
)

◆ SetUpStudiesListParameter()

bool SetUpStudiesListParameter ( const FieldTrialServiceData data_p,
Parameter param_p,
const Study active_study_p,
const bool  empty_option_flag 
)

◆ AddStudyToServiceJob()

bool AddStudyToServiceJob ( ServiceJob job_p,
Study study_p,
const ViewFormat  format,
JSONProcessor processor_p,
FieldTrialServiceData data_p 
)

◆ GetStudyAsString()

char* GetStudyAsString ( const Study study_p)

◆ GetAspect()

const KeyValuePair* GetAspect ( const char *  aspect_value_s)

◆ GetAllStudiesAsJSONInViewFormat()

json_t* GetAllStudiesAsJSONInViewFormat ( FieldTrialServiceData data_p,
const ViewFormat  format 
)

◆ GetStudyFromResource()

Study* GetStudyFromResource ( DataResource resource_p,
const NamedParameterType  study_param_type,
FieldTrialServiceData dfw_data_p 
)

◆ FindAndAddStudyToServiceJob()

void FindAndAddStudyToServiceJob ( const char *  id_s,
const ViewFormat  format,
ServiceJob job_p,
JSONProcessor processor_p,
const FieldTrialServiceData data_p 
)

◆ GetStudyJSONForId()

json_t* GetStudyJSONForId ( const char *  id_s,
const ViewFormat  format,
JSONProcessor processor_p,
char **  study_name_ss,
const FieldTrialServiceData data_p 
)

◆ GetStudyDistinctPhenotypesAsJSON()

json_t* GetStudyDistinctPhenotypesAsJSON ( bson_oid_t *  study_id_p,
const FieldTrialServiceData data_p 
)

◆ GetStudyDistinctAccessionsAsJSON()

json_t* GetStudyDistinctAccessionsAsJSON ( bson_oid_t *  study_id_p,
const FieldTrialServiceData data_p 
)

◆ RemovePlotsForStudyById()

OperationStatus RemovePlotsForStudyById ( const char *  id_s,
FieldTrialServiceData data_p 
)

◆ GetAllStudyIds()

json_t* GetAllStudyIds ( Service service_p)

◆ GetOrCreateTreatmentFactorForStudy()

struct TreatmentFactor* GetOrCreateTreatmentFactorForStudy ( Study study_p,
const bson_oid_t *  treatment_id_p,
const FieldTrialServiceData data_p 
)

◆ GetTreatmentFactorForStudy()

struct TreatmentFactor* GetTreatmentFactorForStudy ( Study study_p,
const bson_oid_t *  treatment_id_p,
const FieldTrialServiceData data_p 
)

◆ GetTreatmentFactorForStudyByUrl()

struct TreatmentFactor* GetTreatmentFactorForStudyByUrl ( const Study study_p,
const char *  treatment_url_s,
const FieldTrialServiceData data_p 
)

◆ GetStudyAsFrictionlessDataResource()

json_t* GetStudyAsFrictionlessDataResource ( const Study study_p,
const FieldTrialServiceData data_p 
)

◆ SaveStudyAsFrictionlessData()

bool SaveStudyAsFrictionlessData ( Study study_p,
FieldTrialServiceData data_p 
)

◆ GetStudyDistinctPhenotypesAsFrictionlessDataJSON()

json_t* GetStudyDistinctPhenotypesAsFrictionlessDataJSON ( bson_oid_t *  study_id_p,
const FieldTrialServiceData data_p 
)

◆ CalculateStudyStatistics()

OperationStatus CalculateStudyStatistics ( Study study_p,
const FieldTrialServiceData service_data_p 
)

◆ GenerateStatisticsForAllStudies()

OperationStatus GenerateStatisticsForAllStudies ( ServiceJob job_p,
FieldTrialServiceData data_p 
)

◆ GenerateStatisticsForStudy()

OperationStatus GenerateStatisticsForStudy ( Study study_p,
ServiceJob job_p,
FieldTrialServiceData data_p 
)

◆ BackupStudyByIdString()

bool BackupStudyByIdString ( const char *  id_s,
FieldTrialServiceData data_p 
)

◆ BackupStudy()

bool BackupStudy ( Study study_p,
const char *  id_s,
FieldTrialServiceData data_p 
)

◆ DeleteStudyById()

OperationStatus DeleteStudyById ( const char *  id_s,
ServiceJob job_p,
FieldTrialServiceData data_p,
const bool  backup_flag 
)

◆ DeleteStudyFromLuceneIndexById()

OperationStatus DeleteStudyFromLuceneIndexById ( const char *  id_s,
uuid_t  uuid,
FieldTrialServiceData data_p 
)

◆ RemoveStudyPhenotypesFromStudyById()

OperationStatus RemoveStudyPhenotypesFromStudyById ( const char *  id_s,
FieldTrialServiceData data_p 
)