raw

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package raw reads in the raw data -- either the standard or non-standard files. The package also adds a handful of new fields.

  • qa. Results of QA. The string field lists every field that failed QA separated by colons.
  • file. Name of the source file.
  • dq. Numeric delinquency level.
  • vintage. Vintage of the loan based on the first pay date. The string format is CCYY"Q"q, for example 2020Q1.
  • propVal. Property value at origination calculated from original balance and LTV.
  • standard. Flag that is Y if the loan is a standard loan.

The output table is <tmp>.source where tmp is the tmp DB specified on the command line

Index

Constants

This section is empty.

Variables

View Source
var Excl bool

Excl is true if this is a non-standard file

View Source
var TableDef *chutils.TableDef

TableDef is TableDef for the source table. It is exported as package collapse needs details of these fields

Functions

func LoadHarpMap

func LoadHarpMap(sourceFile string, table string, con *chutils.Connect) (err error)

LoadHarpMap loads the mapping of non-HARP loans that refinanced into HARP loans.

func LoadRaw

func LoadRaw(sourceFile string, table string, create bool, nConcur int, con *chutils.Connect) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL