sales forecasting
| sql | ||
| readme.md | ||
worked on so far
setup
the basic assumption is a single sales table is available to work with that has a lot of related data that came from master data tables originally. the goal then is to break that back apart to whatever degree is necessary.
- run
schema.sqlandperd.sqlto setup basic tables - create a table fc.live as copied from target
- run
target_info.sqlto populate thefc.target_metatable that holds all the columns and their roles - fill in flags on table
fc.target_metato show how the data is related - run
build_master_tables.sqlto generate foreign key based master data
baseline
- copy history and increment by year to form a baseline
- need to be able to handle order/ship dates generically