Exemplo n.º 1
0
def from_json(json_text):
    '''
    :param str json_text:
    '''
    
    variable_metadata_list= VariableMetadata.import_json(json_text)
    spss_syntax_string= VariableMetadata.export_spss_syntax(variable_metadata_list)
    
    return spss_syntax_string
Exemplo n.º 2
0
def from_json(json_text):
    '''
    :param str json_text:
    '''

    variable_metadata_list= VariableMetadata.import_json(json_text)
    spss_syntax_string= VariableMetadata.export_spss_syntax(variable_metadata_list)

    return spss_syntax_string
Exemplo n.º 3
0
def from_dicts(variable_labels_dict, value_labels_dict):
    variable_metadata_list= VariableMetadata.import_dicts(variable_labels_dict, value_labels_dict)
    spss_syntax_string= VariableMetadata.export_spss_syntax(variable_metadata_list)
    
    return spss_syntax_string
Exemplo n.º 4
0
def from_dicts(variable_labels_dict, value_labels_dict):
    variable_metadata_list= VariableMetadata.import_dicts(variable_labels_dict, value_labels_dict)
    spss_syntax_string= VariableMetadata.export_spss_syntax(variable_metadata_list)

    return spss_syntax_string