github.com/invertedv/fannie (go): Package fannie loads the standard, HARP and non-standard (excluded) loans made available by Fannie Mae into a ClickHouse database.  The final result is a single table with nested arrays for time-varying fields. Key features of this package:  The command-line parameters are:  The non-standard loans have four additional fields.  This package recognizes whether the file is standard or not. A combined table can be built by running the app twice pointing to the same -table. On the first run, set -create Y and set -create N for the second run.  Note: for this package to run correctly, the standard loans should be loaded first, so that the table that maps HARP loans to their corresponding pre-HARP loan is loaded and available.  This table isn't needed after all the files are loaded.  See the example under package collapse for the structure of the table.  The data is available at https://datadynamics.fanniemae.com/data-dynamics/#/reportMenu;category=HP.
Keywords: clickhouse|fannie-mae|go|golang