Create input master table from metadata and feature tables for longdat_disc() and longdat_cont()
Useful links