示例#1
0
    def showPersonSyn(self):
        headers = [
            'state', 'county', 'tract', 'bg', 'hhid', 'serialno', 'pnum',
            'frequency', 'personuniqueid'
        ]
        data = self.returnData(headers, varTypes=False)
        a = DisplayTableStructure(
            data, headers, 'Data structure for synthetic person file',
            "Layout of the data in the person synthetic data file.")

        a.exec_()
示例#2
0
 def showHhldSampleStruct(self):
     headers = [
         'state', 'pumano', 'hhid', 'serialno', '<householdvariable1>',
         '<householdvariable2>', '...'
     ]
     data = self.returnData(headers)
     a = DisplayTableStructure(
         data, headers, 'Data structure for household sample file',
         """If you would like to provide your own data, """
         """use the above data structure for the <b>household sample file</b>. """
         """In the <b>variable type</b> row, use keyword <b>bigint</b> for integer variables, """
         """keyword <b>float</b> or <b>double</b> for floating point variables, """
         """and keyword <b>text</b> for string variables.""")
     a.exec_()
示例#3
0
    def showGeocorrStruct(self):
        headers = [
            'county', 'tract', 'bg', 'state', 'pumano', 'stateabb',
            'countyname'
        ]
        data = self.returnData(headers)
        a = DisplayTableStructure(
            data, headers, 'Data structure for geographic correspondence file',
            """If you would like to provide your own data, """
            """use the above data structure for the <b>geographic correspondence file</b>. """
            """In the <b>variable type</b> row, use keyword <b>bigint</b> for integer variables, """
            """keyword <b>float</b> or <b>double</b> for floating point variables, """
            """and keyword <b>text</b> for string variables.""")

        a.exec_()
示例#4
0
    def showPersonMarginalsStruct(self):
        headers = [
            'state', 'county', 'tract', 'bg', '<personvariable1category1>',
            '<personvariable1category2>', '...', '<personvariable2category1>',
            '...'
        ]
        data = self.returnData(headers)
        a = DisplayTableStructure(
            data, headers, 'Data structure for person marginals file',
            """If you would like to provide your own data, """
            """use the above data structure for the <b>person marginals file</b>. """
            """In the <b>variable type</b> row, use keyword <b>bigint</b> for integer variables, """
            """keyword <b>float</b> or <b>double</b> for floating point variables, """
            """and keyword <b>text</b> for string variables.""")

        a.exec_()