def getTableBuilder(testtables=None):
    """
    :param testtables: Will run the testTableDefs function to ensure recodes
     from the same dimension aren't crossed in a table. This is useful if you
     get the error because it identifies the table and the cell of the list where
     the error occurs.

    :return:
    """
    schema = SchemaMaker.fromName(CC.SCHEMA_REDUCED_DHCP_HHGQ)
    tabledict = getTableDict()
    if testtables == True:

        tablebuilder.testTableDefs(schema, tabledict)

    else:
        schema = SchemaMaker.fromName(CC.SCHEMA_REDUCED_DHCP_HHGQ)
        tabledict = getTableDict()
        builder = tablebuilder.TableBuilder(schema, tabledict)
        return builder

        ############################################################
        ## Consolidated tables
        ############################################################
        '''
def getTableBuilder():
    schema = SchemaMaker.buildSchema()
    tabledict = getTableDict()
    builder = tablebuilder.TableBuilder(schema, tabledict)
    return builder
def getTableBuilder():
    schema = SchemaMaker.fromName(CC.SCHEMA_SF1)
    tabledict = getTableDict()
    builder = tablebuilder.TableBuilder(schema, tabledict)
    return builder
def getTableBuilder():
    schema = SchemaMaker.fromName(CC.DAS_PL94)
    tabledict = getTableDict()
    builder = tablebuilder.TableBuilder(schema, tabledict)
    return builder