From 0be561a7f21e83b277e18c0184dcde46ee0b5703 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 3 Nov 2023 09:35:57 -0400 Subject: [PATCH] vault backup: 2023-11-03 09:35:57 --- out | 4494 ++++++++++++++++++++++++++++++++++++++++++++ sql/dev.sql | 20 +- sql/get.sql | 64 +- sql/hist.sql | 2 +- sql/price_pool.sql | 2 + 5 files changed, 4553 insertions(+), 29 deletions(-) create mode 100644 out diff --git a/out b/out new file mode 100644 index 0000000..f736d14 --- /dev/null +++ b/out @@ -0,0 +1,4494 @@ +{ + "agg": [ + "chan", + "mold", + "v0ds", + "vers" + ], + "data": [ + { + "chan": "W", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2013": { + "units": 5200, + "price_usd": 0.33096, + "sales_usd": 1721, + "target_price": 0.33750 + }, + "2015": { + "units": 646600, + "price_usd": 0.30291, + "sales_usd": 195863, + "target_price": 0.31253 + }, + "2016": { + "units": 440100, + "price_usd": 0.30468, + "sales_usd": 134090, + "target_price": 0.31057 + }, + "2017": { + "units": 610100, + "price_usd": 0.29803, + "sales_usd": 181826, + "target_price": 0.30980 + }, + "2018": { + "units": 658000, + "price_usd": 0.30722, + "sales_usd": 202148, + "target_price": 0.30922 + }, + "2019": { + "units": 668300, + "price_usd": 0.31515, + "sales_usd": 210612, + "target_price": 0.31187 + }, + "2020": { + "units": 515800, + "price_usd": 0.30560, + "sales_usd": 157630, + "target_price": 0.31417 + }, + "2021": { + "units": 1289900, + "price_usd": 0.33409, + "sales_usd": 430937, + "target_price": 0.31332 + }, + "2022": { + "units": 1864800, + "price_usd": 0.45216, + "sales_usd": 843186, + "target_price": 0.30606 + }, + "2023": { + "units": 280900, + "price_usd": 0.54861, + "sales_usd": 154105, + "target_price": 0.29885 + }, + "2024": { + "units": 486200, + "price_usd": 0.45553, + "sales_usd": 221478, + "target_price": 0.30923 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v0ds": "BASE", + "vers": "A", + "season": { + "2015": { + "units": 88400, + "price_usd": 0.28428, + "sales_usd": 25130, + "target_price": 0.25113 + }, + "2016": { + "units": 12600, + "price_usd": 0.32397, + "sales_usd": 4082, + "target_price": 0.26190 + }, + "2017": { + "units": 59000, + "price_usd": 0.29578, + "sales_usd": 17451, + "target_price": 0.25119 + }, + "2018": { + "units": 78500, + "price_usd": 0.33381, + "sales_usd": 26204, + "target_price": 0.25720 + }, + "2019": { + "units": 43800, + "price_usd": 0.30073, + "sales_usd": 13172, + "target_price": 0.25068 + }, + "2020": { + "units": 78000, + "price_usd": 0.29495, + "sales_usd": 23006, + "target_price": 0.25077 + }, + "2021": { + "units": 164400, + "price_usd": 0.37696, + "sales_usd": 61972, + "target_price": 0.26350 + }, + "2022": { + "units": 422900, + "price_usd": 0.45370, + "sales_usd": 191868, + "target_price": 0.25006 + }, + "2023": { + "units": 147800, + "price_usd": 0.48884, + "sales_usd": 72251, + "target_price": 0.25129 + }, + "2024": { + "units": 21300, + "price_usd": 0.51038, + "sales_usd": 10871, + "target_price": 0.26620 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v0ds": "BASE", + "vers": "A", + "season": { + "2014": { + "units": 19200, + "price_usd": 0.25901, + "sales_usd": 4973, + "target_price": 0.25000 + }, + "2015": { + "units": 1513100, + "price_usd": 0.26297, + "sales_usd": 397905, + "target_price": 0.25004 + }, + "2016": { + "units": 1307100, + "price_usd": 0.25140, + "sales_usd": 328606, + "target_price": 0.25006 + }, + "2017": { + "units": 1593100, + "price_usd": 0.24363, + "sales_usd": 388119, + "target_price": 0.25013 + }, + "2018": { + "units": 847300, + "price_usd": 0.25367, + "sales_usd": 214932, + "target_price": 0.25015 + }, + "2019": { + "units": 581300, + "price_usd": 0.30092, + "sales_usd": 174923, + "target_price": 0.25004 + }, + "2020": { + "units": 975400, + "price_usd": 0.27424, + "sales_usd": 267496, + "target_price": 0.25005 + }, + "2021": { + "units": 2587200, + "price_usd": 0.30181, + "sales_usd": 780839, + "target_price": 0.25139 + }, + "2022": { + "units": 3153600, + "price_usd": 0.43774, + "sales_usd": 1380450, + "target_price": 0.25000 + }, + "2023": { + "units": 91200, + "price_usd": 0.35000, + "sales_usd": 31920, + "target_price": 0.25000 + }, + "2024": { + "units": 648000, + "price_usd": 0.34924, + "sales_usd": 226310, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2014": { + "units": 230400, + "price_usd": 0.32000, + "sales_usd": 73728, + "target_price": 0.33766 + }, + "2015": { + "units": 230369, + "price_usd": 0.31083, + "sales_usd": 71606, + "target_price": 0.33761 + }, + "2016": { + "units": 555300, + "price_usd": 0.27393, + "sales_usd": 152112, + "target_price": 0.33829 + }, + "2017": { + "units": 565000, + "price_usd": 0.27216, + "sales_usd": 153773, + "target_price": 0.34060 + }, + "2018": { + "units": 914100, + "price_usd": 0.26972, + "sales_usd": 246548, + "target_price": 0.34111 + }, + "2019": { + "units": 985000, + "price_usd": 0.26696, + "sales_usd": 262958, + "target_price": 0.34212 + }, + "2020": { + "units": 1011200, + "price_usd": 0.26015, + "sales_usd": 263059, + "target_price": 0.34051 + }, + "2021": { + "units": 129800, + "price_usd": 0.30636, + "sales_usd": 39765, + "target_price": 0.33638 + }, + "2022": { + "units": 644500, + "price_usd": 0.39953, + "sales_usd": 257494, + "target_price": 0.33730 + }, + "2024": { + "units": 62200, + "price_usd": 0.39706, + "sales_usd": 24697, + "target_price": 0.34241 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2014": { + "units": 115900, + "price_usd": 0.29378, + "sales_usd": 34049, + "target_price": 0.29505 + }, + "2015": { + "units": 3556700, + "price_usd": 0.27762, + "sales_usd": 987423, + "target_price": 0.29625 + }, + "2016": { + "units": 4334500, + "price_usd": 0.27995, + "sales_usd": 1213464, + "target_price": 0.29897 + }, + "2017": { + "units": 3251800, + "price_usd": 0.26136, + "sales_usd": 849881, + "target_price": 0.29779 + }, + "2018": { + "units": 2983700, + "price_usd": 0.26590, + "sales_usd": 793358, + "target_price": 0.29678 + }, + "2019": { + "units": 3471620, + "price_usd": 0.26277, + "sales_usd": 912241, + "target_price": 0.29747 + }, + "2020": { + "units": 2879800, + "price_usd": 0.26745, + "sales_usd": 770196, + "target_price": 0.29891 + }, + "2021": { + "units": 3799200, + "price_usd": 0.28714, + "sales_usd": 1090884, + "target_price": 0.29847 + }, + "2022": { + "units": 6076343, + "price_usd": 0.42061, + "sales_usd": 2555752, + "target_price": 0.29933 + }, + "2023": { + "units": 202200, + "price_usd": 0.54458, + "sales_usd": 110114, + "target_price": 0.32595 + }, + "2024": { + "units": 1384100, + "price_usd": 0.34863, + "sales_usd": 482543, + "target_price": 0.30006 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v0ds": "BASE LABELED", + "vers": "A", + "season": { + "2015": { + "units": 14400, + "price_usd": 0.31382, + "sales_usd": 4519, + "target_price": 0.29000 + }, + "2016": { + "units": 4800, + "price_usd": 0.31375, + "sales_usd": 1506, + "target_price": 0.29000 + }, + "2017": { + "units": 10600, + "price_usd": 0.31387, + "sales_usd": 3327, + "target_price": 0.29472 + }, + "2018": { + "units": 5800, + "price_usd": 0.31466, + "sales_usd": 1825, + "target_price": 0.29862 + }, + "2019": { + "units": 19200, + "price_usd": 0.32000, + "sales_usd": 6144, + "target_price": 0.29000 + }, + "2020": { + "units": 19200, + "price_usd": 0.33000, + "sales_usd": 6336, + "target_price": 0.29000 + }, + "2021": { + "units": 14400, + "price_usd": 0.33000, + "sales_usd": 4752, + "target_price": 0.29000 + }, + "2022": { + "units": 19200, + "price_usd": 0.38052, + "sales_usd": 7306, + "target_price": 0.29000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2020": { + "units": 19200, + "price_usd": 0.28802, + "sales_usd": 5530, + "target_price": 0.34000 + }, + "2022": { + "units": 4800, + "price_usd": 0.19000, + "sales_usd": 912, + "target_price": 0.32750 + } + } + } + ] +} +{ + "agg": [ + "chan", + "mold", + "v1ds", + "vers" + ], + "data": [ + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L..PLT..", + "vers": "A", + "season": { + "2014": { + "units": 67200, + "price_usd": 0.29801, + "sales_usd": 20026, + "target_price": 0.30000 + }, + "2015": { + "units": 2016000, + "price_usd": 0.27385, + "sales_usd": 552080, + "target_price": 0.30000 + }, + "2016": { + "units": 2318400, + "price_usd": 0.26757, + "sales_usd": 620340, + "target_price": 0.30000 + }, + "2017": { + "units": 1963200, + "price_usd": 0.24454, + "sales_usd": 480085, + "target_price": 0.30000 + }, + "2018": { + "units": 1742400, + "price_usd": 0.25080, + "sales_usd": 436998, + "target_price": 0.30000 + }, + "2019": { + "units": 2059200, + "price_usd": 0.25746, + "sales_usd": 530170, + "target_price": 0.30000 + }, + "2020": { + "units": 1968000, + "price_usd": 0.26214, + "sales_usd": 515885, + "target_price": 0.30000 + }, + "2021": { + "units": 1704000, + "price_usd": 0.26227, + "sales_usd": 446915, + "target_price": 0.30000 + }, + "2022": { + "units": 3398400, + "price_usd": 0.40663, + "sales_usd": 1381903, + "target_price": 0.30000 + }, + "2023": { + "units": 67200, + "price_usd": 0.46621, + "sales_usd": 31329, + "target_price": 0.30000 + }, + "2024": { + "units": 1027200, + "price_usd": 0.34575, + "sales_usd": 355156, + "target_price": 0.30000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:M..CSE..", + "vers": "A", + "season": { + "2020": { + "units": 2300, + "price_usd": 0.29913, + "sales_usd": 688, + "target_price": 0.32250 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:M..CSE..D", + "vers": "A", + "season": { + "2020": { + "units": 2500, + "price_usd": 0.29920, + "sales_usd": 748, + "target_price": 0.36250 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:M.L.PLT..", + "vers": "A", + "season": { + "2018": { + "units": 96000, + "price_usd": 0.26200, + "sales_usd": 25152, + "target_price": 0.35250 + }, + "2019": { + "units": 120000, + "price_usd": 0.26800, + "sales_usd": 32160, + "target_price": 0.35250 + }, + "2020": { + "units": 168000, + "price_usd": 0.26800, + "sales_usd": 45024, + "target_price": 0.35250 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:M..PLT..", + "vers": "A", + "season": { + "2016": { + "units": 556800, + "price_usd": 0.31458, + "sales_usd": 175156, + "target_price": 0.31250 + }, + "2018": { + "units": 120000, + "price_usd": 0.19700, + "sales_usd": 23640, + "target_price": 0.31250 + }, + "2019": { + "units": 182400, + "price_usd": 0.23899, + "sales_usd": 43592, + "target_price": 0.31250 + }, + "2020": { + "units": 74400, + "price_usd": 0.23462, + "sales_usd": 17456, + "target_price": 0.31250 + }, + "2021": { + "units": 302400, + "price_usd": 0.25212, + "sales_usd": 76240, + "target_price": 0.31250 + }, + "2022": { + "units": 451200, + "price_usd": 0.38748, + "sales_usd": 174830, + "target_price": 0.31250 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:P..CSE..D", + "vers": "A", + "season": { + "2019": { + "units": 800, + "price_usd": 0.35000, + "sales_usd": 280, + "target_price": 0.37500 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:P.L.PLT..", + "vers": "A", + "season": { + "2019": { + "units": 91200, + "price_usd": 0.26500, + "sales_usd": 24168, + "target_price": 0.36500 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:P..PLT..", + "vers": "A", + "season": { + "2019": { + "units": 19200, + "price_usd": 0.35000, + "sales_usd": 6720, + "target_price": 0.32500 + }, + "2021": { + "units": 182400, + "price_usd": 0.26792, + "sales_usd": 48869, + "target_price": 0.32500 + }, + "2022": { + "units": 129600, + "price_usd": 0.43569, + "sales_usd": 56466, + "target_price": 0.32500 + }, + "2024": { + "units": 96000, + "price_usd": 0.30103, + "sales_usd": 28899, + "target_price": 0.32500 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:T..CSE..", + "vers": "A", + "season": { + "2018": { + "units": 4300, + "price_usd": 0.30907, + "sales_usd": 1329, + "target_price": 0.29750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:T..CSE..D", + "vers": "A", + "season": { + "2014": { + "units": 700, + "price_usd": 0.35286, + "sales_usd": 247, + "target_price": 0.33750 + }, + "2015": { + "units": 54600, + "price_usd": 0.28756, + "sales_usd": 15701, + "target_price": 0.33750 + }, + "2016": { + "units": 42900, + "price_usd": 0.28960, + "sales_usd": 12424, + "target_price": 0.33750 + }, + "2017": { + "units": 34800, + "price_usd": 0.26914, + "sales_usd": 9366, + "target_price": 0.33750 + }, + "2018": { + "units": 15100, + "price_usd": 0.29371, + "sales_usd": 4435, + "target_price": 0.33750 + }, + "2019": { + "units": 29000, + "price_usd": 0.30748, + "sales_usd": 8917, + "target_price": 0.33750 + }, + "2020": { + "units": 22200, + "price_usd": 0.30468, + "sales_usd": 6764, + "target_price": 0.33750 + }, + "2021": { + "units": 13800, + "price_usd": 0.74500, + "sales_usd": 10281, + "target_price": 0.33750 + }, + "2022": { + "units": 36600, + "price_usd": 0.47383, + "sales_usd": 17342, + "target_price": 0.33750 + }, + "2023": { + "units": 200, + "price_usd": 0.71000, + "sales_usd": 142, + "target_price": 0.33750 + }, + "2024": { + "units": 5300, + "price_usd": 0.44906, + "sales_usd": 2380, + "target_price": 0.33750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:T.L.CSE..D", + "vers": "A", + "season": { + "2015": { + "units": 500, + "price_usd": 0.37000, + "sales_usd": 185, + "target_price": 0.37750 + }, + "2016": { + "units": 2700, + "price_usd": 0.35000, + "sales_usd": 945, + "target_price": 0.37750 + }, + "2017": { + "units": 1100, + "price_usd": 0.35000, + "sales_usd": 385, + "target_price": 0.37750 + }, + "2018": { + "units": 1000, + "price_usd": 0.31500, + "sales_usd": 315, + "target_price": 0.37750 + }, + "2022": { + "units": 500, + "price_usd": 0.38000, + "sales_usd": 190, + "target_price": 0.37750 + }, + "2024": { + "units": 1600, + "price_usd": 0.40250, + "sales_usd": 644, + "target_price": 0.37750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:T.L.PLT..", + "vers": "A", + "season": { + "2014": { + "units": 43200, + "price_usd": 0.32000, + "sales_usd": 13824, + "target_price": 0.32750 + }, + "2015": { + "units": 52749, + "price_usd": 0.32160, + "sales_usd": 16964, + "target_price": 0.32750 + }, + "2016": { + "units": 105600, + "price_usd": 0.28385, + "sales_usd": 29975, + "target_price": 0.32750 + }, + "2017": { + "units": 43200, + "price_usd": 0.33870, + "sales_usd": 14632, + "target_price": 0.32750 + }, + "2018": { + "units": 52800, + "price_usd": 0.33193, + "sales_usd": 17526, + "target_price": 0.32750 + }, + "2019": { + "units": 158400, + "price_usd": 0.28241, + "sales_usd": 44733, + "target_price": 0.32750 + }, + "2020": { + "units": 139200, + "price_usd": 0.25748, + "sales_usd": 35841, + "target_price": 0.32750 + }, + "2021": { + "units": 57600, + "price_usd": 0.31184, + "sales_usd": 17962, + "target_price": 0.32750 + }, + "2022": { + "units": 201600, + "price_usd": 0.36541, + "sales_usd": 73667, + "target_price": 0.32750 + }, + "2024": { + "units": 4800, + "price_usd": 0.40250, + "sales_usd": 1932, + "target_price": 0.32750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:T..PLT..", + "vers": "A", + "season": { + "2014": { + "units": 48000, + "price_usd": 0.28700, + "sales_usd": 13776, + "target_price": 0.28750 + }, + "2015": { + "units": 1435200, + "price_usd": 0.28220, + "sales_usd": 405009, + "target_price": 0.28750 + }, + "2016": { + "units": 1339200, + "price_usd": 0.28557, + "sales_usd": 382442, + "target_price": 0.28750 + }, + "2017": { + "units": 1128000, + "price_usd": 0.28521, + "sales_usd": 321721, + "target_price": 0.28750 + }, + "2018": { + "units": 1065600, + "price_usd": 0.29657, + "sales_usd": 316025, + "target_price": 0.28750 + }, + "2019": { + "units": 1142400, + "price_usd": 0.27205, + "sales_usd": 310791, + "target_price": 0.28750 + }, + "2020": { + "units": 729600, + "price_usd": 0.27829, + "sales_usd": 203041, + "target_price": 0.28750 + }, + "2021": { + "units": 1512000, + "price_usd": 0.31719, + "sales_usd": 479584, + "target_price": 0.28750 + }, + "2022": { + "units": 1872000, + "price_usd": 0.44480, + "sales_usd": 832664, + "target_price": 0.28750 + }, + "2023": { + "units": 24000, + "price_usd": 0.45617, + "sales_usd": 10948, + "target_price": 0.28750 + }, + "2024": { + "units": 244800, + "price_usd": 0.36962, + "sales_usd": 90483, + "target_price": 0.28750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:B..PLT..", + "vers": "A", + "season": { + "2014": { + "units": 19200, + "price_usd": 0.25901, + "sales_usd": 4973, + "target_price": 0.25000 + }, + "2015": { + "units": 1512000, + "price_usd": 0.26293, + "sales_usd": 397546, + "target_price": 0.25000 + }, + "2016": { + "units": 1305600, + "price_usd": 0.25127, + "sales_usd": 328056, + "target_price": 0.25000 + }, + "2017": { + "units": 1588800, + "price_usd": 0.24347, + "sales_usd": 386821, + "target_price": 0.25000 + }, + "2018": { + "units": 844800, + "price_usd": 0.25322, + "sales_usd": 213922, + "target_price": 0.25000 + }, + "2019": { + "units": 580800, + "price_usd": 0.30093, + "sales_usd": 174782, + "target_price": 0.25000 + }, + "2020": { + "units": 974400, + "price_usd": 0.27409, + "sales_usd": 267076, + "target_price": 0.25000 + }, + "2021": { + "units": 2515200, + "price_usd": 0.30126, + "sales_usd": 757721, + "target_price": 0.25000 + }, + "2022": { + "units": 3153600, + "price_usd": 0.43774, + "sales_usd": 1380450, + "target_price": 0.25000 + }, + "2023": { + "units": 91200, + "price_usd": 0.35000, + "sales_usd": 31920, + "target_price": 0.25000 + }, + "2024": { + "units": 648000, + "price_usd": 0.34924, + "sales_usd": 226310, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L..CSE..", + "vers": "A", + "season": { + "2016": { + "units": 4200, + "price_usd": 0.31333, + "sales_usd": 1316, + "target_price": 0.31000 + }, + "2017": { + "units": 16800, + "price_usd": 0.27464, + "sales_usd": 4614, + "target_price": 0.31000 + }, + "2018": { + "units": 3600, + "price_usd": 0.24500, + "sales_usd": 882, + "target_price": 0.31000 + }, + "2019": { + "units": 8200, + "price_usd": 0.23878, + "sales_usd": 1958, + "target_price": 0.31000 + }, + "2020": { + "units": 900, + "price_usd": 0.23667, + "sales_usd": 213, + "target_price": 0.31000 + }, + "2022": { + "units": 4500, + "price_usd": 0.45022, + "sales_usd": 2026, + "target_price": 0.31000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L..CSE..D", + "vers": "A", + "season": { + "2015": { + "units": 50900, + "price_usd": 0.28749, + "sales_usd": 14633, + "target_price": 0.35000 + }, + "2016": { + "units": 73000, + "price_usd": 0.29844, + "sales_usd": 21786, + "target_price": 0.35000 + }, + "2017": { + "units": 109000, + "price_usd": 0.31280, + "sales_usd": 34095, + "target_price": 0.35000 + }, + "2018": { + "units": 32700, + "price_usd": 0.30731, + "sales_usd": 10049, + "target_price": 0.35000 + }, + "2019": { + "units": 30200, + "price_usd": 0.32288, + "sales_usd": 9751, + "target_price": 0.35000 + }, + "2020": { + "units": 79900, + "price_usd": 0.31791, + "sales_usd": 25401, + "target_price": 0.35000 + }, + "2021": { + "units": 84600, + "price_usd": 0.34273, + "sales_usd": 28995, + "target_price": 0.35000 + }, + "2022": { + "units": 180500, + "price_usd": 0.49266, + "sales_usd": 88926, + "target_price": 0.35000 + }, + "2023": { + "units": 110800, + "price_usd": 0.61097, + "sales_usd": 67695, + "target_price": 0.35000 + }, + "2024": { + "units": 10800, + "price_usd": 0.52083, + "sales_usd": 5625, + "target_price": 0.35000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L.L.CSE..", + "vers": "A", + "season": { + "2018": { + "units": 2500, + "price_usd": 0.25800, + "sales_usd": 645, + "target_price": 0.35000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L.L.CSE..D", + "vers": "A", + "season": { + "2015": { + "units": 1800, + "price_usd": 0.32000, + "sales_usd": 576, + "target_price": 0.39000 + }, + "2016": { + "units": 5400, + "price_usd": 0.19093, + "sales_usd": 1031, + "target_price": 0.39000 + }, + "2017": { + "units": 16700, + "price_usd": 0.30892, + "sales_usd": 5159, + "target_price": 0.39000 + }, + "2018": { + "units": 8200, + "price_usd": 0.30268, + "sales_usd": 2482, + "target_price": 0.39000 + }, + "2019": { + "units": 5800, + "price_usd": 0.32828, + "sales_usd": 1904, + "target_price": 0.39000 + }, + "2020": { + "units": 3200, + "price_usd": 0.27281, + "sales_usd": 873, + "target_price": 0.39000 + }, + "2021": { + "units": 5000, + "price_usd": 0.34120, + "sales_usd": 1706, + "target_price": 0.39000 + }, + "2022": { + "units": 15200, + "price_usd": 0.49316, + "sales_usd": 7496, + "target_price": 0.39000 + }, + "2024": { + "units": 3000, + "price_usd": 0.42167, + "sales_usd": 1265, + "target_price": 0.39000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L.L.PLT..", + "vers": "A", + "season": { + "2014": { + "units": 187200, + "price_usd": 0.32000, + "sales_usd": 59904, + "target_price": 0.34000 + }, + "2015": { + "units": 175320, + "price_usd": 0.30733, + "sales_usd": 53881, + "target_price": 0.34000 + }, + "2016": { + "units": 441600, + "price_usd": 0.27210, + "sales_usd": 120161, + "target_price": 0.34000 + }, + "2017": { + "units": 504000, + "price_usd": 0.26507, + "sales_usd": 133597, + "target_price": 0.34000 + }, + "2018": { + "units": 753600, + "price_usd": 0.26596, + "sales_usd": 200428, + "target_price": 0.34000 + }, + "2019": { + "units": 609600, + "price_usd": 0.26246, + "sales_usd": 159993, + "target_price": 0.34000 + }, + "2020": { + "units": 700800, + "price_usd": 0.25873, + "sales_usd": 181321, + "target_price": 0.34000 + }, + "2021": { + "units": 67200, + "price_usd": 0.29906, + "sales_usd": 20097, + "target_price": 0.34000 + }, + "2022": { + "units": 427200, + "price_usd": 0.41232, + "sales_usd": 176141, + "target_price": 0.34000 + }, + "2024": { + "units": 52800, + "price_usd": 0.39500, + "sales_usd": 20856, + "target_price": 0.34000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:L..PC..", + "vers": "A", + "season": { + "2019": { + "units": 220, + "price_usd": 0.28182, + "sales_usd": 62, + "target_price": 0.30000 + }, + "2022": { + "units": 3543, + "price_usd": 0.45018, + "sales_usd": 1595, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:L..PLT..", + "vers": "A", + "season": { + "2015": { + "units": 110400, + "price_usd": 0.28689, + "sales_usd": 31673, + "target_price": 0.30000 + }, + "2016": { + "units": 81600, + "price_usd": 0.28489, + "sales_usd": 23247, + "target_price": 0.30000 + }, + "2017": { + "units": 81600, + "price_usd": 0.26118, + "sales_usd": 21312, + "target_price": 0.30000 + }, + "2018": { + "units": 172800, + "price_usd": 0.25862, + "sales_usd": 44690, + "target_price": 0.30000 + }, + "2019": { + "units": 192000, + "price_usd": 0.27457, + "sales_usd": 52718, + "target_price": 0.30000 + }, + "2020": { + "units": 158400, + "price_usd": 0.26208, + "sales_usd": 41514, + "target_price": 0.30000 + }, + "2021": { + "units": 384000, + "price_usd": 0.30755, + "sales_usd": 118099, + "target_price": 0.30000 + }, + "2022": { + "units": 849600, + "price_usd": 0.43706, + "sales_usd": 371325, + "target_price": 0.30000 + }, + "2023": { + "units": 14400, + "price_usd": 0.47771, + "sales_usd": 6879, + "target_price": 0.30000 + }, + "2024": { + "units": 235200, + "price_usd": 0.36739, + "sales_usd": 86409, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:T..CSE..", + "vers": "A", + "season": { + "2017": { + "units": 1000, + "price_usd": 0.36700, + "sales_usd": 367, + "target_price": 0.29750 + }, + "2021": { + "units": 4000, + "price_usd": 0.38250, + "sales_usd": 1530, + "target_price": 0.29750 + }, + "2023": { + "units": 12000, + "price_usd": 0.57792, + "sales_usd": 6935, + "target_price": 0.29750 + }, + "2024": { + "units": 4000, + "price_usd": 0.53750, + "sales_usd": 2150, + "target_price": 0.29750 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:T..CSE..D", + "vers": "A", + "season": { + "2013": { + "units": 5200, + "price_usd": 0.33096, + "sales_usd": 1721, + "target_price": 0.33750 + }, + "2015": { + "units": 248500, + "price_usd": 0.32559, + "sales_usd": 80910, + "target_price": 0.33750 + }, + "2016": { + "units": 149900, + "price_usd": 0.31514, + "sales_usd": 47240, + "target_price": 0.33750 + }, + "2017": { + "units": 191500, + "price_usd": 0.31968, + "sales_usd": 61218, + "target_price": 0.33750 + }, + "2018": { + "units": 183600, + "price_usd": 0.35460, + "sales_usd": 65105, + "target_price": 0.33750 + }, + "2019": { + "units": 190400, + "price_usd": 0.36259, + "sales_usd": 69038, + "target_price": 0.33750 + }, + "2020": { + "units": 148700, + "price_usd": 0.33601, + "sales_usd": 49964, + "target_price": 0.33750 + }, + "2021": { + "units": 360100, + "price_usd": 0.35498, + "sales_usd": 127829, + "target_price": 0.33750 + }, + "2022": { + "units": 324800, + "price_usd": 0.49177, + "sales_usd": 159728, + "target_price": 0.33750 + }, + "2023": { + "units": 57500, + "price_usd": 0.61480, + "sales_usd": 35351, + "target_price": 0.33750 + }, + "2024": { + "units": 119900, + "price_usd": 0.58476, + "sales_usd": 70113, + "target_price": 0.33750 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:T.L.PLT..", + "vers": "A", + "season": { + "2022": { + "units": 4800, + "price_usd": 0.19000, + "sales_usd": 912, + "target_price": 0.32750 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:T..PLT..", + "vers": "A", + "season": { + "2015": { + "units": 249600, + "price_usd": 0.28647, + "sales_usd": 71504, + "target_price": 0.28750 + }, + "2016": { + "units": 182400, + "price_usd": 0.30304, + "sales_usd": 55275, + "target_price": 0.28750 + }, + "2017": { + "units": 288000, + "price_usd": 0.29208, + "sales_usd": 84120, + "target_price": 0.28750 + }, + "2018": { + "units": 254400, + "price_usd": 0.30042, + "sales_usd": 76426, + "target_price": 0.28750 + }, + "2019": { + "units": 216000, + "price_usd": 0.30259, + "sales_usd": 65360, + "target_price": 0.28750 + }, + "2020": { + "units": 139200, + "price_usd": 0.30481, + "sales_usd": 42430, + "target_price": 0.28750 + }, + "2021": { + "units": 374400, + "price_usd": 0.32427, + "sales_usd": 121408, + "target_price": 0.28750 + }, + "2022": { + "units": 566400, + "price_usd": 0.45091, + "sales_usd": 255394, + "target_price": 0.28750 + }, + "2023": { + "units": 196800, + "price_usd": 0.53251, + "sales_usd": 104798, + "target_price": 0.28750 + }, + "2024": { + "units": 100800, + "price_usd": 0.47489, + "sales_usd": 47869, + "target_price": 0.28750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:B..CSE..D", + "vers": "A", + "season": { + "2015": { + "units": 1100, + "price_usd": 0.32636, + "sales_usd": 359, + "target_price": 0.30000 + }, + "2016": { + "units": 1500, + "price_usd": 0.36667, + "sales_usd": 550, + "target_price": 0.30000 + }, + "2017": { + "units": 4300, + "price_usd": 0.30186, + "sales_usd": 1298, + "target_price": 0.30000 + }, + "2018": { + "units": 2500, + "price_usd": 0.40400, + "sales_usd": 1010, + "target_price": 0.30000 + }, + "2019": { + "units": 500, + "price_usd": 0.28200, + "sales_usd": 141, + "target_price": 0.30000 + }, + "2020": { + "units": 1000, + "price_usd": 0.42000, + "sales_usd": 420, + "target_price": 0.30000 + }, + "2021": { + "units": 72000, + "price_usd": 0.32108, + "sales_usd": 23118, + "target_price": 0.30000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:B.L.CSE..D", + "vers": "A", + "season": { + "2017": { + "units": 1000, + "price_usd": 0.31400, + "sales_usd": 314, + "target_price": 0.34000 + }, + "2018": { + "units": 1000, + "price_usd": 0.31500, + "sales_usd": 315, + "target_price": 0.34000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "v1ds": "v1:B.L.PLT..", + "vers": "A", + "season": { + "2015": { + "units": 14400, + "price_usd": 0.31382, + "sales_usd": 4519, + "target_price": 0.29000 + }, + "2016": { + "units": 4800, + "price_usd": 0.31375, + "sales_usd": 1506, + "target_price": 0.29000 + }, + "2017": { + "units": 9600, + "price_usd": 0.31385, + "sales_usd": 3013, + "target_price": 0.29000 + }, + "2018": { + "units": 4800, + "price_usd": 0.31458, + "sales_usd": 1510, + "target_price": 0.29000 + }, + "2019": { + "units": 19200, + "price_usd": 0.32000, + "sales_usd": 6144, + "target_price": 0.29000 + }, + "2020": { + "units": 19200, + "price_usd": 0.33000, + "sales_usd": 6336, + "target_price": 0.29000 + }, + "2021": { + "units": 14400, + "price_usd": 0.33000, + "sales_usd": 4752, + "target_price": 0.29000 + }, + "2022": { + "units": 19200, + "price_usd": 0.38052, + "sales_usd": 7306, + "target_price": 0.29000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:B..CSE..D", + "vers": "A", + "season": { + "2015": { + "units": 2000, + "price_usd": 0.35550, + "sales_usd": 711, + "target_price": 0.30000 + }, + "2016": { + "units": 3000, + "price_usd": 0.36667, + "sales_usd": 1100, + "target_price": 0.30000 + }, + "2017": { + "units": 1400, + "price_usd": 0.37214, + "sales_usd": 521, + "target_price": 0.30000 + }, + "2018": { + "units": 11300, + "price_usd": 0.39372, + "sales_usd": 4449, + "target_price": 0.30000 + }, + "2019": { + "units": 600, + "price_usd": 0.43833, + "sales_usd": 263, + "target_price": 0.30000 + }, + "2020": { + "units": 1200, + "price_usd": 0.44000, + "sales_usd": 528, + "target_price": 0.30000 + }, + "2021": { + "units": 44400, + "price_usd": 0.44128, + "sales_usd": 19593, + "target_price": 0.30000 + }, + "2022": { + "units": 500, + "price_usd": 0.55000, + "sales_usd": 275, + "target_price": 0.30000 + }, + "2023": { + "units": 3800, + "price_usd": 0.64974, + "sales_usd": 2469, + "target_price": 0.30000 + }, + "2024": { + "units": 6900, + "price_usd": 0.59261, + "sales_usd": 4089, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:B..PLT..", + "vers": "A", + "season": { + "2015": { + "units": 86400, + "price_usd": 0.28263, + "sales_usd": 24419, + "target_price": 0.25000 + }, + "2016": { + "units": 9600, + "price_usd": 0.31063, + "sales_usd": 2982, + "target_price": 0.25000 + }, + "2017": { + "units": 57600, + "price_usd": 0.29392, + "sales_usd": 16930, + "target_price": 0.25000 + }, + "2018": { + "units": 67200, + "price_usd": 0.32374, + "sales_usd": 21755, + "target_price": 0.25000 + }, + "2019": { + "units": 43200, + "price_usd": 0.29882, + "sales_usd": 12909, + "target_price": 0.25000 + }, + "2020": { + "units": 76800, + "price_usd": 0.29268, + "sales_usd": 22478, + "target_price": 0.25000 + }, + "2021": { + "units": 120000, + "price_usd": 0.35316, + "sales_usd": 42379, + "target_price": 0.25000 + }, + "2022": { + "units": 422400, + "price_usd": 0.45358, + "sales_usd": 191593, + "target_price": 0.25000 + }, + "2023": { + "units": 144000, + "price_usd": 0.48460, + "sales_usd": 69782, + "target_price": 0.25000 + }, + "2024": { + "units": 14400, + "price_usd": 0.47097, + "sales_usd": 6782, + "target_price": 0.25000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:L..CSE..", + "vers": "A", + "season": { + "2024": { + "units": 1400, + "price_usd": 0.36071, + "sales_usd": 505, + "target_price": 0.31000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:L..CSE..D", + "vers": "A", + "season": { + "2015": { + "units": 38100, + "price_usd": 0.30908, + "sales_usd": 11776, + "target_price": 0.35000 + }, + "2016": { + "units": 26200, + "price_usd": 0.31786, + "sales_usd": 8328, + "target_price": 0.35000 + }, + "2017": { + "units": 48000, + "price_usd": 0.30852, + "sales_usd": 14809, + "target_price": 0.35000 + }, + "2018": { + "units": 47200, + "price_usd": 0.33744, + "sales_usd": 15927, + "target_price": 0.35000 + }, + "2019": { + "units": 69900, + "price_usd": 0.33614, + "sales_usd": 23496, + "target_price": 0.35000 + }, + "2020": { + "units": 69500, + "price_usd": 0.34132, + "sales_usd": 23722, + "target_price": 0.35000 + }, + "2021": { + "units": 167400, + "price_usd": 0.37079, + "sales_usd": 62071, + "target_price": 0.35000 + }, + "2022": { + "units": 124000, + "price_usd": 0.45757, + "sales_usd": 56739, + "target_price": 0.35000 + }, + "2023": { + "units": 200, + "price_usd": 0.71000, + "sales_usd": 142, + "target_price": 0.35000 + }, + "2024": { + "units": 24900, + "price_usd": 0.57960, + "sales_usd": 14432, + "target_price": 0.35000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "v1ds": "v1:L.L.PLT..", + "vers": "A", + "season": { + "2020": { + "units": 19200, + "price_usd": 0.28802, + "sales_usd": 5530, + "target_price": 0.34000 + } + } + } + ] +} +{ + "agg": [ + "chan", + "cust", + "mold", + "v0ds", + "vers" + ], + "data": [ + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v0ds": "BASE", + "vers": "A", + "season": { + "2018": { + "units": 47200, + "price_usd": 0.34434, + "sales_usd": 16253, + "target_price": 0.25424 + }, + "2020": { + "units": 48000, + "price_usd": 0.30250, + "sales_usd": 14520, + "target_price": 0.25000 + }, + "2021": { + "units": 76800, + "price_usd": 0.37249, + "sales_usd": 28607, + "target_price": 0.25000 + }, + "2022": { + "units": 259200, + "price_usd": 0.46295, + "sales_usd": 119996, + "target_price": 0.25000 + }, + "2023": { + "units": 115200, + "price_usd": 0.48460, + "sales_usd": 55826, + "target_price": 0.25000 + } + } + }, + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2018": { + "units": 43200, + "price_usd": 0.35477, + "sales_usd": 15326, + "target_price": 0.31528 + }, + "2019": { + "units": 100000, + "price_usd": 0.28638, + "sales_usd": 28638, + "target_price": 0.30810 + }, + "2020": { + "units": 70800, + "price_usd": 0.30792, + "sales_usd": 21801, + "target_price": 0.31102 + }, + "2021": { + "units": 38400, + "price_usd": 0.30250, + "sales_usd": 11616, + "target_price": 0.30000 + }, + "2022": { + "units": 259200, + "price_usd": 0.48399, + "sales_usd": 125450, + "target_price": 0.29444 + }, + "2023": { + "units": 24000, + "price_usd": 0.53304, + "sales_usd": 12793, + "target_price": 0.28750 + } + } + } + ] +} +{ + "agg": [ + "chan", + "cust", + "mold", + "v1ds", + "vers" + ], + "data": [ + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v1ds": "v1:B..CSE..D", + "vers": "A", + "season": { + "2018": { + "units": 4000, + "price_usd": 0.36450, + "sales_usd": 1458, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v1ds": "v1:B..PLT..", + "vers": "A", + "season": { + "2018": { + "units": 43200, + "price_usd": 0.34248, + "sales_usd": 14795, + "target_price": 0.25000 + }, + "2020": { + "units": 48000, + "price_usd": 0.30250, + "sales_usd": 14520, + "target_price": 0.25000 + }, + "2021": { + "units": 76800, + "price_usd": 0.37249, + "sales_usd": 28607, + "target_price": 0.25000 + }, + "2022": { + "units": 259200, + "price_usd": 0.46295, + "sales_usd": 119996, + "target_price": 0.25000 + }, + "2023": { + "units": 115200, + "price_usd": 0.48460, + "sales_usd": 55826, + "target_price": 0.25000 + } + } + }, + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v1ds": "v1:L..CSE..D", + "vers": "A", + "season": { + "2019": { + "units": 14400, + "price_usd": 0.28000, + "sales_usd": 4032, + "target_price": 0.35000 + }, + "2020": { + "units": 18000, + "price_usd": 0.30250, + "sales_usd": 5445, + "target_price": 0.35000 + } + } + }, + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v1ds": "v1:L..PLT..", + "vers": "A", + "season": { + "2019": { + "units": 76800, + "price_usd": 0.28000, + "sales_usd": 21504, + "target_price": 0.30000 + }, + "2020": { + "units": 43200, + "price_usd": 0.30250, + "sales_usd": 13068, + "target_price": 0.30000 + }, + "2021": { + "units": 38400, + "price_usd": 0.30250, + "sales_usd": 11616, + "target_price": 0.30000 + }, + "2022": { + "units": 144000, + "price_usd": 0.48378, + "sales_usd": 69664, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v1ds": "v1:T..PLT..", + "vers": "A", + "season": { + "2018": { + "units": 19200, + "price_usd": 0.34250, + "sales_usd": 6576, + "target_price": 0.28750 + }, + "2019": { + "units": 4800, + "price_usd": 0.34250, + "sales_usd": 1644, + "target_price": 0.28750 + }, + "2020": { + "units": 9600, + "price_usd": 0.34250, + "sales_usd": 3288, + "target_price": 0.28750 + }, + "2022": { + "units": 115200, + "price_usd": 0.48425, + "sales_usd": 55786, + "target_price": 0.28750 + }, + "2023": { + "units": 24000, + "price_usd": 0.53304, + "sales_usd": 12793, + "target_price": 0.28750 + } + } + }, + { + "chan": "W", + "cust": "DIAMOND R", + "mold": "TUH10000", + "v1ds": "v1:T..CSE..D", + "vers": "A", + "season": { + "2018": { + "units": 24000, + "price_usd": 0.36458, + "sales_usd": 8750, + "target_price": 0.33750 + }, + "2019": { + "units": 4000, + "price_usd": 0.36450, + "sales_usd": 1458, + "target_price": 0.33750 + } + } + } + ] +} +{ + "agg": [ + "chan", + "ghse", + "mold", + "v0ds", + "vers" + ], + "data": [ + { + "chan": "D", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2014": { + "units": 230400, + "price_usd": 0.32000, + "sales_usd": 73728, + "target_price": 0.33766 + }, + "2015": { + "units": 230369, + "price_usd": 0.31083, + "sales_usd": 71606, + "target_price": 0.33761 + }, + "2016": { + "units": 540900, + "price_usd": 0.27191, + "sales_usd": 147077, + "target_price": 0.33825 + }, + "2017": { + "units": 565000, + "price_usd": 0.27216, + "sales_usd": 153773, + "target_price": 0.34060 + }, + "2018": { + "units": 899700, + "price_usd": 0.26840, + "sales_usd": 241480, + "target_price": 0.34113 + }, + "2019": { + "units": 965800, + "price_usd": 0.26547, + "sales_usd": 256393, + "target_price": 0.34216 + }, + "2020": { + "units": 996800, + "price_usd": 0.25917, + "sales_usd": 258338, + "target_price": 0.34052 + }, + "2021": { + "units": 107600, + "price_usd": 0.29472, + "sales_usd": 31712, + "target_price": 0.33424 + }, + "2022": { + "units": 638500, + "price_usd": 0.39825, + "sales_usd": 254280, + "target_price": 0.33680 + }, + "2024": { + "units": 59200, + "price_usd": 0.39581, + "sales_usd": 23432, + "target_price": 0.34000 + } + } + }, + { + "chan": "D", + "ghse": "Can East", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 4800, + "price_usd": 0.28813, + "sales_usd": 1383, + "target_price": 0.30000 + }, + "2017": { + "units": 19200, + "price_usd": 0.33453, + "sales_usd": 6423, + "target_price": 0.30000 + }, + "2019": { + "units": 28800, + "price_usd": 0.26517, + "sales_usd": 7637, + "target_price": 0.30000 + }, + "2020": { + "units": 4800, + "price_usd": 0.34250, + "sales_usd": 1644, + "target_price": 0.31250 + }, + "2021": { + "units": 4800, + "price_usd": 0.29875, + "sales_usd": 1434, + "target_price": 0.30000 + }, + "2022": { + "units": 27243, + "price_usd": 0.42470, + "sales_usd": 11570, + "target_price": 0.30165 + }, + "2023": { + "units": 4800, + "price_usd": 0.47375, + "sales_usd": 2274, + "target_price": 0.30000 + }, + "2024": { + "units": 4800, + "price_usd": 0.36250, + "sales_usd": 1740, + "target_price": 0.30000 + } + } + }, + { + "chan": "D", + "ghse": "Can East", + "mold": "TUH10000", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2016": { + "units": 14400, + "price_usd": 0.34965, + "sales_usd": 5035, + "target_price": 0.34000 + }, + "2018": { + "units": 14400, + "price_usd": 0.35194, + "sales_usd": 5068, + "target_price": 0.34000 + }, + "2019": { + "units": 19200, + "price_usd": 0.34193, + "sales_usd": 6565, + "target_price": 0.34000 + }, + "2020": { + "units": 14400, + "price_usd": 0.32785, + "sales_usd": 4721, + "target_price": 0.34000 + }, + "2021": { + "units": 22200, + "price_usd": 0.36275, + "sales_usd": 8053, + "target_price": 0.34676 + }, + "2022": { + "units": 6000, + "price_usd": 0.53567, + "sales_usd": 3214, + "target_price": 0.39000 + }, + "2024": { + "units": 3000, + "price_usd": 0.42167, + "sales_usd": 1265, + "target_price": 0.39000 + } + } + }, + { + "chan": "D", + "ghse": "Can West", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2016": { + "units": 9600, + "price_usd": 0.28271, + "sales_usd": 2714, + "target_price": 0.30000 + }, + "2017": { + "units": 12000, + "price_usd": 0.29550, + "sales_usd": 3546, + "target_price": 0.31000 + }, + "2018": { + "units": 14400, + "price_usd": 0.31382, + "sales_usd": 4519, + "target_price": 0.30000 + }, + "2019": { + "units": 4800, + "price_usd": 0.30438, + "sales_usd": 1461, + "target_price": 0.30000 + }, + "2020": { + "units": 33600, + "price_usd": 0.31354, + "sales_usd": 10535, + "target_price": 0.30000 + }, + "2022": { + "units": 19200, + "price_usd": 0.49839, + "sales_usd": 9569, + "target_price": 0.30000 + } + } + }, + { + "chan": "D", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "BASE", + "vers": "A", + "season": { + "2014": { + "units": 19200, + "price_usd": 0.25901, + "sales_usd": 4973, + "target_price": 0.25000 + }, + "2015": { + "units": 1513100, + "price_usd": 0.26297, + "sales_usd": 397905, + "target_price": 0.25004 + }, + "2016": { + "units": 1307100, + "price_usd": 0.25140, + "sales_usd": 328606, + "target_price": 0.25006 + }, + "2017": { + "units": 1593100, + "price_usd": 0.24363, + "sales_usd": 388119, + "target_price": 0.25013 + }, + "2018": { + "units": 847300, + "price_usd": 0.25367, + "sales_usd": 214932, + "target_price": 0.25015 + }, + "2019": { + "units": 581300, + "price_usd": 0.30092, + "sales_usd": 174923, + "target_price": 0.25004 + }, + "2020": { + "units": 975400, + "price_usd": 0.27424, + "sales_usd": 267496, + "target_price": 0.25005 + }, + "2021": { + "units": 2587200, + "price_usd": 0.30181, + "sales_usd": 780839, + "target_price": 0.25139 + }, + "2022": { + "units": 3153600, + "price_usd": 0.43774, + "sales_usd": 1380450, + "target_price": 0.25000 + }, + "2023": { + "units": 91200, + "price_usd": 0.35000, + "sales_usd": 31920, + "target_price": 0.25000 + }, + "2024": { + "units": 648000, + "price_usd": 0.34924, + "sales_usd": 226310, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "BASE LABELED", + "vers": "A", + "season": { + "2015": { + "units": 14400, + "price_usd": 0.31382, + "sales_usd": 4519, + "target_price": 0.29000 + }, + "2016": { + "units": 4800, + "price_usd": 0.31375, + "sales_usd": 1506, + "target_price": 0.29000 + }, + "2017": { + "units": 10600, + "price_usd": 0.31387, + "sales_usd": 3327, + "target_price": 0.29472 + }, + "2018": { + "units": 5800, + "price_usd": 0.31466, + "sales_usd": 1825, + "target_price": 0.29862 + }, + "2019": { + "units": 19200, + "price_usd": 0.32000, + "sales_usd": 6144, + "target_price": 0.29000 + }, + "2020": { + "units": 19200, + "price_usd": 0.33000, + "sales_usd": 6336, + "target_price": 0.29000 + }, + "2021": { + "units": 14400, + "price_usd": 0.33000, + "sales_usd": 4752, + "target_price": 0.29000 + }, + "2022": { + "units": 19200, + "price_usd": 0.38052, + "sales_usd": 7306, + "target_price": 0.29000 + } + } + }, + { + "chan": "D", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2014": { + "units": 115900, + "price_usd": 0.29378, + "sales_usd": 34049, + "target_price": 0.29505 + }, + "2015": { + "units": 3551900, + "price_usd": 0.27761, + "sales_usd": 986040, + "target_price": 0.29624 + }, + "2016": { + "units": 4324900, + "price_usd": 0.27995, + "sales_usd": 1210750, + "target_price": 0.29896 + }, + "2017": { + "units": 3215800, + "price_usd": 0.26074, + "sales_usd": 838501, + "target_price": 0.29775 + }, + "2018": { + "units": 2969300, + "price_usd": 0.26566, + "sales_usd": 788839, + "target_price": 0.29677 + }, + "2019": { + "units": 3438020, + "price_usd": 0.26269, + "sales_usd": 903143, + "target_price": 0.29745 + }, + "2020": { + "units": 2841400, + "price_usd": 0.26678, + "sales_usd": 758017, + "target_price": 0.29887 + }, + "2021": { + "units": 3794400, + "price_usd": 0.28712, + "sales_usd": 1089450, + "target_price": 0.29847 + }, + "2022": { + "units": 6029900, + "price_usd": 0.42034, + "sales_usd": 2534613, + "target_price": 0.29932 + }, + "2023": { + "units": 197400, + "price_usd": 0.54630, + "sales_usd": 107840, + "target_price": 0.32658 + }, + "2024": { + "units": 1379300, + "price_usd": 0.34858, + "sales_usd": 480803, + "target_price": 0.30006 + } + } + }, + { + "chan": "D", + "ghse": "US Terr", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2017": { + "units": 4800, + "price_usd": 0.29396, + "sales_usd": 1411, + "target_price": 0.28750 + } + } + }, + { + "chan": "W", + "ghse": "Can East", + "mold": "TUH10000", + "v0ds": "BASE", + "vers": "A", + "season": { + "2018": { + "units": 100, + "price_usd": 0.44000, + "sales_usd": 44, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "ghse": "Can East", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 5200, + "price_usd": 0.29154, + "sales_usd": 1516, + "target_price": 0.30385 + }, + "2016": { + "units": 14400, + "price_usd": 0.27729, + "sales_usd": 3993, + "target_price": 0.30000 + }, + "2019": { + "units": 4800, + "price_usd": 0.36396, + "sales_usd": 1747, + "target_price": 0.30000 + }, + "2024": { + "units": 200, + "price_usd": 0.56000, + "sales_usd": 112, + "target_price": 0.35000 + } + } + }, + { + "chan": "W", + "ghse": "Can West", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2016": { + "units": 4800, + "price_usd": 0.26229, + "sales_usd": 1259, + "target_price": 0.28750 + }, + "2017": { + "units": 9600, + "price_usd": 0.29552, + "sales_usd": 2837, + "target_price": 0.33750 + }, + "2021": { + "units": 20000, + "price_usd": 0.38200, + "sales_usd": 7640, + "target_price": 0.35000 + } + } + }, + { + "chan": "W", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "BASE", + "vers": "A", + "season": { + "2015": { + "units": 88400, + "price_usd": 0.28428, + "sales_usd": 25130, + "target_price": 0.25113 + }, + "2016": { + "units": 12600, + "price_usd": 0.32397, + "sales_usd": 4082, + "target_price": 0.26190 + }, + "2017": { + "units": 59000, + "price_usd": 0.29578, + "sales_usd": 17451, + "target_price": 0.25119 + }, + "2018": { + "units": 78400, + "price_usd": 0.33367, + "sales_usd": 26160, + "target_price": 0.25714 + }, + "2019": { + "units": 43800, + "price_usd": 0.30073, + "sales_usd": 13172, + "target_price": 0.25068 + }, + "2020": { + "units": 78000, + "price_usd": 0.29495, + "sales_usd": 23006, + "target_price": 0.25077 + }, + "2021": { + "units": 164400, + "price_usd": 0.37696, + "sales_usd": 61972, + "target_price": 0.26350 + }, + "2022": { + "units": 422900, + "price_usd": 0.45370, + "sales_usd": 191868, + "target_price": 0.25006 + }, + "2023": { + "units": 147800, + "price_usd": 0.48884, + "sales_usd": 72251, + "target_price": 0.25129 + }, + "2024": { + "units": 21300, + "price_usd": 0.51038, + "sales_usd": 10871, + "target_price": 0.26620 + } + } + }, + { + "chan": "W", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2013": { + "units": 5200, + "price_usd": 0.33096, + "sales_usd": 1721, + "target_price": 0.33750 + }, + "2015": { + "units": 641400, + "price_usd": 0.30300, + "sales_usd": 194347, + "target_price": 0.31260 + }, + "2016": { + "units": 420900, + "price_usd": 0.30610, + "sales_usd": 128838, + "target_price": 0.31119 + }, + "2017": { + "units": 600500, + "price_usd": 0.29807, + "sales_usd": 178989, + "target_price": 0.30936 + }, + "2018": { + "units": 658000, + "price_usd": 0.30722, + "sales_usd": 202148, + "target_price": 0.30922 + }, + "2019": { + "units": 663500, + "price_usd": 0.31479, + "sales_usd": 208865, + "target_price": 0.31196 + }, + "2020": { + "units": 515800, + "price_usd": 0.30560, + "sales_usd": 157630, + "target_price": 0.31417 + }, + "2021": { + "units": 1269900, + "price_usd": 0.33333, + "sales_usd": 423297, + "target_price": 0.31274 + }, + "2022": { + "units": 1864800, + "price_usd": 0.45216, + "sales_usd": 843186, + "target_price": 0.30606 + }, + "2023": { + "units": 280900, + "price_usd": 0.54861, + "sales_usd": 154105, + "target_price": 0.29885 + }, + "2024": { + "units": 486000, + "price_usd": 0.45549, + "sales_usd": 221366, + "target_price": 0.30921 + } + } + }, + { + "chan": "W", + "ghse": "US", + "mold": "TUH10000", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2020": { + "units": 19200, + "price_usd": 0.28802, + "sales_usd": 5530, + "target_price": 0.34000 + }, + "2022": { + "units": 4800, + "price_usd": 0.19000, + "sales_usd": 912, + "target_price": 0.32750 + } + } + } + ] +} +{ + "agg": [ + "chan", + "mold", + "nurs", + "v0ds", + "vers" + ], + "data": [ + { + "chan": "D", + "mold": "TUH10000", + "nurs": "South", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2016": { + "units": 24000, + "price_usd": 0.33000, + "sales_usd": 7920, + "target_price": 0.32750 + }, + "2018": { + "units": 28800, + "price_usd": 0.33000, + "sales_usd": 9504, + "target_price": 0.32750 + }, + "2019": { + "units": 33600, + "price_usd": 0.33500, + "sales_usd": 11256, + "target_price": 0.32929 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "US Terr", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2017": { + "units": 4800, + "price_usd": 0.29396, + "sales_usd": 1411, + "target_price": 0.28750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "West", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 11600, + "price_usd": 0.29078, + "sales_usd": 3373, + "target_price": 0.29828 + }, + "2016": { + "units": 18400, + "price_usd": 0.31500, + "sales_usd": 5796, + "target_price": 0.31087 + }, + "2018": { + "units": 2500, + "price_usd": 0.35520, + "sales_usd": 888, + "target_price": 0.29750 + }, + "2019": { + "units": 24000, + "price_usd": 0.34358, + "sales_usd": 8246, + "target_price": 0.29500 + }, + "2020": { + "units": 4800, + "price_usd": 0.37542, + "sales_usd": 1802, + "target_price": 0.28750 + }, + "2021": { + "units": 20600, + "price_usd": 0.66015, + "sales_usd": 13599, + "target_price": 0.29090 + }, + "2022": { + "units": 28800, + "price_usd": 0.50569, + "sales_usd": 14564, + "target_price": 0.30417 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "Gulf", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2014": { + "units": 48000, + "price_usd": 0.28700, + "sales_usd": 13776, + "target_price": 0.28750 + }, + "2015": { + "units": 404800, + "price_usd": 0.27895, + "sales_usd": 112918, + "target_price": 0.29244 + }, + "2016": { + "units": 111800, + "price_usd": 0.28363, + "sales_usd": 31710, + "target_price": 0.29081 + }, + "2017": { + "units": 235400, + "price_usd": 0.28036, + "sales_usd": 65997, + "target_price": 0.29895 + }, + "2018": { + "units": 292800, + "price_usd": 0.26984, + "sales_usd": 79008, + "target_price": 0.28893 + }, + "2019": { + "units": 710900, + "price_usd": 0.26623, + "sales_usd": 189265, + "target_price": 0.28905 + }, + "2020": { + "units": 319900, + "price_usd": 0.27661, + "sales_usd": 88487, + "target_price": 0.29555 + }, + "2021": { + "units": 597300, + "price_usd": 0.32696, + "sales_usd": 195293, + "target_price": 0.29318 + }, + "2022": { + "units": 770400, + "price_usd": 0.45382, + "sales_usd": 349620, + "target_price": 0.29548 + }, + "2023": { + "units": 108000, + "price_usd": 0.61301, + "sales_usd": 66205, + "target_price": 0.35000 + }, + "2024": { + "units": 48000, + "price_usd": 0.40250, + "sales_usd": 19320, + "target_price": 0.28750 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "Gulf", + "v0ds": "BASE", + "vers": "A", + "season": { + "2014": { + "units": 19200, + "price_usd": 0.25901, + "sales_usd": 4973, + "target_price": 0.25000 + }, + "2015": { + "units": 1512000, + "price_usd": 0.26293, + "sales_usd": 397546, + "target_price": 0.25000 + }, + "2016": { + "units": 1228800, + "price_usd": 0.24965, + "sales_usd": 306764, + "target_price": 0.25000 + }, + "2017": { + "units": 1468800, + "price_usd": 0.24014, + "sales_usd": 352719, + "target_price": 0.25000 + }, + "2018": { + "units": 720000, + "price_usd": 0.24646, + "sales_usd": 177448, + "target_price": 0.25000 + }, + "2019": { + "units": 235200, + "price_usd": 0.27915, + "sales_usd": 65657, + "target_price": 0.25000 + }, + "2020": { + "units": 624000, + "price_usd": 0.24926, + "sales_usd": 155541, + "target_price": 0.25000 + }, + "2021": { + "units": 1723200, + "price_usd": 0.28814, + "sales_usd": 496526, + "target_price": 0.25209 + }, + "2022": { + "units": 1809600, + "price_usd": 0.43195, + "sales_usd": 781650, + "target_price": 0.25000 + }, + "2024": { + "units": 619200, + "price_usd": 0.35000, + "sales_usd": 216720, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "East", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2015": { + "units": 38400, + "price_usd": 0.23625, + "sales_usd": 9072, + "target_price": 0.34000 + }, + "2016": { + "units": 50000, + "price_usd": 0.25442, + "sales_usd": 12721, + "target_price": 0.34200 + }, + "2017": { + "units": 520400, + "price_usd": 0.26841, + "sales_usd": 139682, + "target_price": 0.33950 + }, + "2018": { + "units": 434000, + "price_usd": 0.26324, + "sales_usd": 114248, + "target_price": 0.34300 + }, + "2019": { + "units": 468400, + "price_usd": 0.27824, + "sales_usd": 130326, + "target_price": 0.34286 + }, + "2020": { + "units": 435200, + "price_usd": 0.26888, + "sales_usd": 117018, + "target_price": 0.34519 + }, + "2021": { + "units": 83600, + "price_usd": 0.28023, + "sales_usd": 23427, + "target_price": 0.33617 + }, + "2022": { + "units": 311600, + "price_usd": 0.46238, + "sales_usd": 144077, + "target_price": 0.33974 + }, + "2024": { + "units": 59200, + "price_usd": 0.39581, + "sales_usd": 23432, + "target_price": 0.34000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "East", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2014": { + "units": 67900, + "price_usd": 0.29857, + "sales_usd": 20273, + "target_price": 0.30039 + }, + "2015": { + "units": 1501200, + "price_usd": 0.27009, + "sales_usd": 405453, + "target_price": 0.29816 + }, + "2016": { + "units": 1837500, + "price_usd": 0.26941, + "sales_usd": 495047, + "target_price": 0.29780 + }, + "2017": { + "units": 1393500, + "price_usd": 0.25095, + "sales_usd": 349701, + "target_price": 0.29947 + }, + "2018": { + "units": 1096700, + "price_usd": 0.25726, + "sales_usd": 282138, + "target_price": 0.29928 + }, + "2019": { + "units": 1355400, + "price_usd": 0.26757, + "sales_usd": 362667, + "target_price": 0.29866 + }, + "2020": { + "units": 1442200, + "price_usd": 0.26950, + "sales_usd": 388679, + "target_price": 0.29988 + }, + "2021": { + "units": 1495600, + "price_usd": 0.27045, + "sales_usd": 404479, + "target_price": 0.29947 + }, + "2022": { + "units": 2857400, + "price_usd": 0.41346, + "sales_usd": 1181420, + "target_price": 0.30057 + }, + "2023": { + "units": 67400, + "price_usd": 0.47136, + "sales_usd": 31770, + "target_price": 0.29833 + }, + "2024": { + "units": 845200, + "price_usd": 0.34807, + "sales_usd": 294187, + "target_price": 0.29926 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "East", + "v0ds": "BASE", + "vers": "A", + "season": { + "2016": { + "units": 48500, + "price_usd": 0.26901, + "sales_usd": 13047, + "target_price": 0.25052 + }, + "2017": { + "units": 24000, + "price_usd": 0.26692, + "sales_usd": 6406, + "target_price": 0.25000 + }, + "2018": { + "units": 43200, + "price_usd": 0.29433, + "sales_usd": 12715, + "target_price": 0.25000 + }, + "2019": { + "units": 29300, + "price_usd": 0.31608, + "sales_usd": 9261, + "target_price": 0.25085 + }, + "2020": { + "units": 29800, + "price_usd": 0.31735, + "sales_usd": 9457, + "target_price": 0.25168 + }, + "2021": { + "units": 124800, + "price_usd": 0.34096, + "sales_usd": 42552, + "target_price": 0.25000 + }, + "2022": { + "units": 168000, + "price_usd": 0.42613, + "sales_usd": 71589, + "target_price": 0.25000 + }, + "2023": { + "units": 91200, + "price_usd": 0.35000, + "sales_usd": 31920, + "target_price": 0.25000 + }, + "2024": { + "units": 9600, + "price_usd": 0.39896, + "sales_usd": 3830, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "Can West", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2016": { + "units": 9600, + "price_usd": 0.28271, + "sales_usd": 2714, + "target_price": 0.30000 + }, + "2017": { + "units": 12000, + "price_usd": 0.29550, + "sales_usd": 3546, + "target_price": 0.31000 + }, + "2018": { + "units": 14400, + "price_usd": 0.31382, + "sales_usd": 4519, + "target_price": 0.30000 + }, + "2019": { + "units": 4800, + "price_usd": 0.30438, + "sales_usd": 1461, + "target_price": 0.30000 + }, + "2020": { + "units": 33600, + "price_usd": 0.31354, + "sales_usd": 10535, + "target_price": 0.30000 + }, + "2022": { + "units": 19200, + "price_usd": 0.49839, + "sales_usd": 9569, + "target_price": 0.30000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "Can East", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2016": { + "units": 14400, + "price_usd": 0.34965, + "sales_usd": 5035, + "target_price": 0.34000 + }, + "2018": { + "units": 14400, + "price_usd": 0.35194, + "sales_usd": 5068, + "target_price": 0.34000 + }, + "2019": { + "units": 19200, + "price_usd": 0.34193, + "sales_usd": 6565, + "target_price": 0.34000 + }, + "2020": { + "units": 14400, + "price_usd": 0.32785, + "sales_usd": 4721, + "target_price": 0.34000 + }, + "2021": { + "units": 22200, + "price_usd": 0.36275, + "sales_usd": 8053, + "target_price": 0.34676 + }, + "2022": { + "units": 6000, + "price_usd": 0.53567, + "sales_usd": 3214, + "target_price": 0.39000 + }, + "2024": { + "units": 3000, + "price_usd": 0.42167, + "sales_usd": 1265, + "target_price": 0.39000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "Can East", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 4800, + "price_usd": 0.28813, + "sales_usd": 1383, + "target_price": 0.30000 + }, + "2017": { + "units": 19200, + "price_usd": 0.33453, + "sales_usd": 6423, + "target_price": 0.30000 + }, + "2019": { + "units": 28800, + "price_usd": 0.26517, + "sales_usd": 7637, + "target_price": 0.30000 + }, + "2020": { + "units": 4800, + "price_usd": 0.34250, + "sales_usd": 1644, + "target_price": 0.31250 + }, + "2021": { + "units": 4800, + "price_usd": 0.29875, + "sales_usd": 1434, + "target_price": 0.30000 + }, + "2022": { + "units": 27243, + "price_usd": 0.42470, + "sales_usd": 11570, + "target_price": 0.30165 + }, + "2023": { + "units": 4800, + "price_usd": 0.47375, + "sales_usd": 2274, + "target_price": 0.30000 + }, + "2024": { + "units": 4800, + "price_usd": 0.36250, + "sales_usd": 1740, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "Gulf", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 267800, + "price_usd": 0.31518, + "sales_usd": 84404, + "target_price": 0.31285 + }, + "2016": { + "units": 147200, + "price_usd": 0.31230, + "sales_usd": 45971, + "target_price": 0.30652 + }, + "2017": { + "units": 216800, + "price_usd": 0.30527, + "sales_usd": 66183, + "target_price": 0.30512 + }, + "2018": { + "units": 193600, + "price_usd": 0.33693, + "sales_usd": 65229, + "target_price": 0.31860 + }, + "2019": { + "units": 270400, + "price_usd": 0.31319, + "sales_usd": 84686, + "target_price": 0.31109 + }, + "2020": { + "units": 210000, + "price_usd": 0.31079, + "sales_usd": 65265, + "target_price": 0.31257 + }, + "2021": { + "units": 560800, + "price_usd": 0.34818, + "sales_usd": 195259, + "target_price": 0.31810 + }, + "2022": { + "units": 904800, + "price_usd": 0.48677, + "sales_usd": 440425, + "target_price": 0.30303 + }, + "2023": { + "units": 126400, + "price_usd": 0.56034, + "sales_usd": 70827, + "target_price": 0.29953 + }, + "2024": { + "units": 229600, + "price_usd": 0.45550, + "sales_usd": 104583, + "target_price": 0.30335 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "MidWest", + "v0ds": "BASE", + "vers": "A", + "season": { + "2015": { + "units": 1100, + "price_usd": 0.36636, + "sales_usd": 403, + "target_price": 0.30000 + }, + "2016": { + "units": 3000, + "price_usd": 0.36667, + "sales_usd": 1100, + "target_price": 0.30000 + }, + "2017": { + "units": 200, + "price_usd": 0.38000, + "sales_usd": 76, + "target_price": 0.30000 + }, + "2018": { + "units": 5100, + "price_usd": 0.40000, + "sales_usd": 2040, + "target_price": 0.30000 + }, + "2020": { + "units": 9600, + "price_usd": 0.26500, + "sales_usd": 2544, + "target_price": 0.25000 + }, + "2021": { + "units": 100, + "price_usd": 0.43000, + "sales_usd": 43, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "MidWest", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2013": { + "units": 5200, + "price_usd": 0.33096, + "sales_usd": 1721, + "target_price": 0.33750 + }, + "2015": { + "units": 147200, + "price_usd": 0.30179, + "sales_usd": 44424, + "target_price": 0.31954 + }, + "2016": { + "units": 105200, + "price_usd": 0.30046, + "sales_usd": 31608, + "target_price": 0.31795 + }, + "2017": { + "units": 127800, + "price_usd": 0.28167, + "sales_usd": 35998, + "target_price": 0.32282 + }, + "2018": { + "units": 234100, + "price_usd": 0.27220, + "sales_usd": 63721, + "target_price": 0.31192 + }, + "2019": { + "units": 149900, + "price_usd": 0.30205, + "sales_usd": 45278, + "target_price": 0.32423 + }, + "2020": { + "units": 178600, + "price_usd": 0.28583, + "sales_usd": 51050, + "target_price": 0.31834 + }, + "2021": { + "units": 330500, + "price_usd": 0.29760, + "sales_usd": 98356, + "target_price": 0.31265 + }, + "2022": { + "units": 498200, + "price_usd": 0.38795, + "sales_usd": 193278, + "target_price": 0.31008 + }, + "2023": { + "units": 4000, + "price_usd": 0.56200, + "sales_usd": 2248, + "target_price": 0.33750 + }, + "2024": { + "units": 172400, + "price_usd": 0.40082, + "sales_usd": 69102, + "target_price": 0.30793 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "South", + "v0ds": "BASE", + "vers": "A", + "season": { + "2017": { + "units": 19500, + "price_usd": 0.28133, + "sales_usd": 5486, + "target_price": 0.25077 + }, + "2018": { + "units": 1500, + "price_usd": 0.43067, + "sales_usd": 646, + "target_price": 0.30000 + }, + "2019": { + "units": 500, + "price_usd": 0.44200, + "sales_usd": 221, + "target_price": 0.30000 + }, + "2020": { + "units": 1000, + "price_usd": 0.44200, + "sales_usd": 442, + "target_price": 0.30000 + }, + "2021": { + "units": 4200, + "price_usd": 0.43429, + "sales_usd": 1824, + "target_price": 0.30000 + }, + "2022": { + "units": 500, + "price_usd": 0.55000, + "sales_usd": 275, + "target_price": 0.30000 + }, + "2023": { + "units": 3400, + "price_usd": 0.64971, + "sales_usd": 2209, + "target_price": 0.30000 + }, + "2024": { + "units": 6700, + "price_usd": 0.59194, + "sales_usd": 3966, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "South", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 171600, + "price_usd": 0.28779, + "sales_usd": 49385, + "target_price": 0.30393 + }, + "2016": { + "units": 123400, + "price_usd": 0.30392, + "sales_usd": 37504, + "target_price": 0.30833 + }, + "2017": { + "units": 206900, + "price_usd": 0.29605, + "sales_usd": 61253, + "target_price": 0.29922 + }, + "2018": { + "units": 182500, + "price_usd": 0.30615, + "sales_usd": 55873, + "target_price": 0.29147 + }, + "2019": { + "units": 156000, + "price_usd": 0.30969, + "sales_usd": 48311, + "target_price": 0.29904 + }, + "2020": { + "units": 91200, + "price_usd": 0.30940, + "sales_usd": 28217, + "target_price": 0.30592 + }, + "2021": { + "units": 261000, + "price_usd": 0.33299, + "sales_usd": 86911, + "target_price": 0.30532 + }, + "2022": { + "units": 388800, + "price_usd": 0.45115, + "sales_usd": 175407, + "target_price": 0.30293 + }, + "2023": { + "units": 131100, + "price_usd": 0.54992, + "sales_usd": 72094, + "target_price": 0.29723 + }, + "2024": { + "units": 47600, + "price_usd": 0.59292, + "sales_usd": 28223, + "target_price": 0.33256 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "West", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2021": { + "units": 9600, + "price_usd": 0.45344, + "sales_usd": 4353, + "target_price": 0.28750 + }, + "2024": { + "units": 4800, + "price_usd": 0.50646, + "sales_usd": 2431, + "target_price": 0.28750 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "Can East", + "v0ds": "BASE", + "vers": "A", + "season": { + "2018": { + "units": 100, + "price_usd": 0.44000, + "sales_usd": 44, + "target_price": 0.30000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "Can East", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 5200, + "price_usd": 0.29154, + "sales_usd": 1516, + "target_price": 0.30385 + }, + "2016": { + "units": 14400, + "price_usd": 0.27729, + "sales_usd": 3993, + "target_price": 0.30000 + }, + "2019": { + "units": 4800, + "price_usd": 0.36396, + "sales_usd": 1747, + "target_price": 0.30000 + }, + "2024": { + "units": 200, + "price_usd": 0.56000, + "sales_usd": 112, + "target_price": 0.35000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "Can West", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2016": { + "units": 4800, + "price_usd": 0.26229, + "sales_usd": 1259, + "target_price": 0.28750 + }, + "2017": { + "units": 9600, + "price_usd": 0.29552, + "sales_usd": 2837, + "target_price": 0.33750 + }, + "2021": { + "units": 20000, + "price_usd": 0.38200, + "sales_usd": 7640, + "target_price": 0.35000 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "East", + "v0ds": "BASE", + "vers": "A", + "season": { + "2015": { + "units": 15300, + "price_usd": 0.31255, + "sales_usd": 4782, + "target_price": 0.25294 + }, + "2016": { + "units": 9600, + "price_usd": 0.31063, + "sales_usd": 2982, + "target_price": 0.25000 + }, + "2017": { + "units": 15300, + "price_usd": 0.31431, + "sales_usd": 4809, + "target_price": 0.25294 + }, + "2018": { + "units": 600, + "price_usd": 0.43500, + "sales_usd": 261, + "target_price": 0.30000 + }, + "2019": { + "units": 4900, + "price_usd": 0.36490, + "sales_usd": 1788, + "target_price": 0.25102 + }, + "2020": { + "units": 200, + "price_usd": 0.43000, + "sales_usd": 86, + "target_price": 0.30000 + }, + "2021": { + "units": 4800, + "price_usd": 0.36375, + "sales_usd": 1746, + "target_price": 0.25000 + }, + "2022": { + "units": 43200, + "price_usd": 0.41546, + "sales_usd": 17948, + "target_price": 0.25000 + }, + "2023": { + "units": 400, + "price_usd": 0.65000, + "sales_usd": 260, + "target_price": 0.30000 + }, + "2024": { + "units": 5000, + "price_usd": 0.48980, + "sales_usd": 2449, + "target_price": 0.25200 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "East", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 54800, + "price_usd": 0.29442, + "sales_usd": 16134, + "target_price": 0.31989 + }, + "2016": { + "units": 45100, + "price_usd": 0.30499, + "sales_usd": 13755, + "target_price": 0.31851 + }, + "2017": { + "units": 49000, + "price_usd": 0.31745, + "sales_usd": 15555, + "target_price": 0.33579 + }, + "2018": { + "units": 47800, + "price_usd": 0.36245, + "sales_usd": 17325, + "target_price": 0.32573 + }, + "2019": { + "units": 87200, + "price_usd": 0.35080, + "sales_usd": 30590, + "target_price": 0.31666 + }, + "2020": { + "units": 36000, + "price_usd": 0.36383, + "sales_usd": 13098, + "target_price": 0.32375 + }, + "2021": { + "units": 108000, + "price_usd": 0.35572, + "sales_usd": 38418, + "target_price": 0.30542 + }, + "2022": { + "units": 73000, + "price_usd": 0.46679, + "sales_usd": 34076, + "target_price": 0.33284 + }, + "2023": { + "units": 19400, + "price_usd": 0.46062, + "sales_usd": 8936, + "target_price": 0.29742 + }, + "2024": { + "units": 31600, + "price_usd": 0.53883, + "sales_usd": 17027, + "target_price": 0.32686 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "East", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2020": { + "units": 19200, + "price_usd": 0.28802, + "sales_usd": 5530, + "target_price": 0.34000 + }, + "2022": { + "units": 4800, + "price_usd": 0.19000, + "sales_usd": 912, + "target_price": 0.32750 + } + } + }, + { + "chan": "W", + "mold": "TUH10000", + "nurs": "Gulf", + "v0ds": "BASE", + "vers": "A", + "season": { + "2015": { + "units": 72000, + "price_usd": 0.27701, + "sales_usd": 19945, + "target_price": 0.25000 + }, + "2017": { + "units": 24000, + "price_usd": 0.29500, + "sales_usd": 7080, + "target_price": 0.25000 + }, + "2018": { + "units": 71200, + "price_usd": 0.32603, + "sales_usd": 23213, + "target_price": 0.25281 + }, + "2019": { + "units": 38400, + "price_usd": 0.29070, + "sales_usd": 11163, + "target_price": 0.25000 + }, + "2020": { + "units": 67200, + "price_usd": 0.29664, + "sales_usd": 19934, + "target_price": 0.25000 + }, + "2021": { + "units": 155300, + "price_usd": 0.37578, + "sales_usd": 58359, + "target_price": 0.26291 + }, + "2022": { + "units": 379200, + "price_usd": 0.45792, + "sales_usd": 173645, + "target_price": 0.25000 + }, + "2023": { + "units": 144000, + "price_usd": 0.48460, + "sales_usd": 69782, + "target_price": 0.25000 + }, + "2024": { + "units": 9600, + "price_usd": 0.46417, + "sales_usd": 4456, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "MidWest", + "v0ds": "BASE", + "vers": "A", + "season": { + "2015": { + "units": 1100, + "price_usd": 0.32636, + "sales_usd": 359, + "target_price": 0.30000 + }, + "2016": { + "units": 15400, + "price_usd": 0.28994, + "sales_usd": 4465, + "target_price": 0.25325 + }, + "2017": { + "units": 8500, + "price_usd": 0.27871, + "sales_usd": 2369, + "target_price": 0.27176 + }, + "2018": { + "units": 21700, + "price_usd": 0.27986, + "sales_usd": 6073, + "target_price": 0.25576 + }, + "2019": { + "units": 14400, + "price_usd": 0.22479, + "sales_usd": 3237, + "target_price": 0.25000 + }, + "2020": { + "units": 9600, + "price_usd": 0.27688, + "sales_usd": 2658, + "target_price": 0.25000 + }, + "2021": { + "units": 38400, + "price_usd": 0.27586, + "sales_usd": 10593, + "target_price": 0.25000 + }, + "2022": { + "units": 72000, + "price_usd": 0.46926, + "sales_usd": 33787, + "target_price": 0.25000 + }, + "2024": { + "units": 19200, + "price_usd": 0.30000, + "sales_usd": 5760, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "MidWest", + "v0ds": "BASE LABELED", + "vers": "A", + "season": { + "2015": { + "units": 14400, + "price_usd": 0.31382, + "sales_usd": 4519, + "target_price": 0.29000 + }, + "2016": { + "units": 4800, + "price_usd": 0.31375, + "sales_usd": 1506, + "target_price": 0.29000 + }, + "2017": { + "units": 10600, + "price_usd": 0.31387, + "sales_usd": 3327, + "target_price": 0.29472 + }, + "2018": { + "units": 5800, + "price_usd": 0.31466, + "sales_usd": 1825, + "target_price": 0.29862 + }, + "2019": { + "units": 19200, + "price_usd": 0.32000, + "sales_usd": 6144, + "target_price": 0.29000 + }, + "2020": { + "units": 19200, + "price_usd": 0.33000, + "sales_usd": 6336, + "target_price": 0.29000 + }, + "2021": { + "units": 14400, + "price_usd": 0.33000, + "sales_usd": 4752, + "target_price": 0.29000 + }, + "2022": { + "units": 19200, + "price_usd": 0.38052, + "sales_usd": 7306, + "target_price": 0.29000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "MidWest", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 907100, + "price_usd": 0.27511, + "sales_usd": 249549, + "target_price": 0.29983 + }, + "2016": { + "units": 1573000, + "price_usd": 0.28212, + "sales_usd": 443776, + "target_price": 0.30467 + }, + "2017": { + "units": 778400, + "price_usd": 0.23933, + "sales_usd": 186295, + "target_price": 0.30165 + }, + "2018": { + "units": 823700, + "price_usd": 0.23273, + "sales_usd": 191696, + "target_price": 0.30258 + }, + "2019": { + "units": 1171720, + "price_usd": 0.24885, + "sales_usd": 291586, + "target_price": 0.30128 + }, + "2020": { + "units": 880600, + "price_usd": 0.25144, + "sales_usd": 221416, + "target_price": 0.30007 + }, + "2021": { + "units": 1110500, + "price_usd": 0.25895, + "sales_usd": 287563, + "target_price": 0.30556 + }, + "2022": { + "units": 1887900, + "price_usd": 0.40117, + "sales_usd": 757372, + "target_price": 0.30156 + }, + "2023": { + "units": 7600, + "price_usd": 0.46092, + "sales_usd": 3503, + "target_price": 0.31842 + }, + "2024": { + "units": 486100, + "price_usd": 0.34416, + "sales_usd": 167296, + "target_price": 0.30269 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "MidWest", + "v0ds": "COLOR LABELED", + "vers": "A", + "season": { + "2014": { + "units": 230400, + "price_usd": 0.32000, + "sales_usd": 73728, + "target_price": 0.33766 + }, + "2015": { + "units": 191969, + "price_usd": 0.32575, + "sales_usd": 62534, + "target_price": 0.33713 + }, + "2016": { + "units": 466900, + "price_usd": 0.27080, + "sales_usd": 126436, + "target_price": 0.33840 + }, + "2017": { + "units": 44600, + "price_usd": 0.31594, + "sales_usd": 14091, + "target_price": 0.35337 + }, + "2018": { + "units": 436900, + "price_usd": 0.26946, + "sales_usd": 117728, + "target_price": 0.34017 + }, + "2019": { + "units": 463800, + "price_usd": 0.24754, + "sales_usd": 114811, + "target_price": 0.34239 + }, + "2020": { + "units": 561600, + "price_usd": 0.25164, + "sales_usd": 141320, + "target_price": 0.33690 + }, + "2021": { + "units": 24000, + "price_usd": 0.34521, + "sales_usd": 8285, + "target_price": 0.32750 + }, + "2022": { + "units": 326900, + "price_usd": 0.33712, + "sales_usd": 110203, + "target_price": 0.33400 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "South", + "v0ds": "BASE", + "vers": "A", + "season": { + "2016": { + "units": 14400, + "price_usd": 0.30069, + "sales_usd": 4330, + "target_price": 0.25000 + }, + "2017": { + "units": 91800, + "price_usd": 0.29003, + "sales_usd": 26625, + "target_price": 0.25033 + }, + "2018": { + "units": 62400, + "price_usd": 0.29962, + "sales_usd": 18696, + "target_price": 0.25000 + }, + "2019": { + "units": 302400, + "price_usd": 0.32000, + "sales_usd": 96768, + "target_price": 0.25000 + }, + "2020": { + "units": 312000, + "price_usd": 0.32000, + "sales_usd": 99840, + "target_price": 0.25000 + }, + "2021": { + "units": 700800, + "price_usd": 0.32986, + "sales_usd": 231168, + "target_price": 0.25000 + }, + "2022": { + "units": 1104000, + "price_usd": 0.44694, + "sales_usd": 493424, + "target_price": 0.25000 + } + } + }, + { + "chan": "D", + "mold": "TUH10000", + "nurs": "South", + "v0ds": "COLOR", + "vers": "A", + "season": { + "2015": { + "units": 727200, + "price_usd": 0.29531, + "sales_usd": 214747, + "target_price": 0.28990 + }, + "2016": { + "units": 784200, + "price_usd": 0.29893, + "sales_usd": 234421, + "target_price": 0.29113 + }, + "2017": { + "units": 808500, + "price_usd": 0.29253, + "sales_usd": 236508, + "target_price": 0.29068 + }, + "2018": { + "units": 753600, + "price_usd": 0.31198, + "sales_usd": 235109, + "target_price": 0.28981 + }, + "2019": { + "units": 176000, + "price_usd": 0.29193, + "sales_usd": 51379, + "target_price": 0.29676 + }, + "2020": { + "units": 193900, + "price_usd": 0.29723, + "sales_usd": 57633, + "target_price": 0.29170 + }, + "2021": { + "units": 570400, + "price_usd": 0.33050, + "sales_usd": 188516, + "target_price": 0.28785 + }, + "2022": { + "units": 485400, + "price_usd": 0.47721, + "sales_usd": 231637, + "target_price": 0.28905 + }, + "2023": { + "units": 14400, + "price_usd": 0.44181, + "sales_usd": 6362, + "target_price": 0.28750 + } + } + } + ] +} diff --git a/sql/dev.sql b/sql/dev.sql index faa025d..448fa8c 100644 --- a/sql/dev.sql +++ b/sql/dev.sql @@ -14,37 +14,37 @@ partcodes AS ( _ds.colgrp = i.colgrp AND _ds.brand = i.branding WHERE - i.item ~ 'ULH12000' + i.item ~ 'TUH1000' AND part_group IS NOT NULL ) -,customers AS ( +,custs AS ( SELECT dba FROM rlarp.cust c WHERE - c.dba ~ 'SUNSHINE GREENH' + c.dba ~ 'DIAMOND ' ) ,allscenarios AS ( SELECT DISTINCT - jsonb_build_object('baseitem',part_group,'customer',dba) sc + jsonb_build_object('mold',part_group,'cust',dba) sc FROM partcodes - CROSS JOIN customers + CROSS JOIN custs ) ,v1scenarios AS ( SELECT DISTINCT - jsonb_build_object('baseitem',part_group,'customer',dba,'v1dataseg',v1dataseg) sc + jsonb_build_object('mold',part_group,'cust',dba,'v1dataseg',v1dataseg) sc FROM partcodes - CROSS JOIN customers + CROSS JOIN custs ) ,v0scenarios AS ( SELECT DISTINCT - jsonb_build_object('baseitem',part_group,'customer',dba,'v0dataseg',v0dataseg) sc + jsonb_build_object('mold',part_group,'cust',dba,'v0dataseg',v0dataseg) sc FROM partcodes - CROSS JOIN customers + CROSS JOIN custs ) ,hist AS ( SELECT @@ -54,7 +54,7 @@ partcodes AS ( ,p.season FROM allscenarios s - LEFT OUTER JOIN rlarp.price_pool_r1 p ON + LEFT OUTER JOIN rlarp.price_pool_dev p ON p.gset @> s.sc ) SELECT * FROM hist diff --git a/sql/get.sql b/sql/get.sql index 9067089..28ae71b 100644 --- a/sql/get.sql +++ b/sql/get.sql @@ -1,18 +1,46 @@ -SELECT - gset - ,agglevel - ,e.k - ,e.v->>'units' units - ,e.v->>'price_usd' price_usd - ,e.v->>'target_price' target_price -FROM - rlarp.price_pool_dev - LEFT JOIN LATERAL JSONB_EACH(season) e(k,v) ON TRUE -WHERE - --gset @> '{"mold":"XNS0T1G3"}'::jsonb - gset @> jsonb_build_object( - 'mold','TUH10000', - 'vers','A' - ) -ORDER BY - agglevel ASC; +WITH +--getj AS ( +-- SELECT +-- jsonb_build_object('mold',stlc) doc +-- FROM +-- "CMS.CUSLG".itemm +-- WHERE +-- item = $1 +--) +agg AS ( + SELECT + gset + ,agglevel + ,season + FROM + rlarp.price_pool_dev + WHERE + --gset @> '{"mold":"XNS0T1G3"}'::jsonb + gset @> jsonb_build_object( + 'mold','TUH10000', + 'vers','A' + ) + AND ( + gset->>'cust' ~ 'DIAMOND' + OR NOT gset ? 'cust' + ) + ORDER BY + agglevel ASC +) +SELECT + jsonb_build_object('agg',agglevel ) + || jsonb_build_object( + 'data', + jsonb_agg(gset || jsonb_build_object('season',season)) + ) data +FROM + agg +GROUP BY + agglevel +LIMIT 10 +--SELECT +-- jsonb_pretty(agglevel) agglevel +-- ,jsonb_pretty(gset) gset +-- ,jsonb_pretty(season) season +--FROM +-- agg diff --git a/sql/hist.sql b/sql/hist.sql index 65069f4..a707651 100644 --- a/sql/hist.sql +++ b/sql/hist.sql @@ -1,4 +1,4 @@ -------------real history on target scenario------------ +-----------real history on target scenario------------ WITH partcodes AS ( SELECT diff --git a/sql/price_pool.sql b/sql/price_pool.sql index a12d5f3..32a96f6 100644 --- a/sql/price_pool.sql +++ b/sql/price_pool.sql @@ -126,3 +126,5 @@ CREATE TABLE IF NOT EXISTS rlarp.price_pool_dev AS ( GROUP BY gset ) WITH DATA; + +create index ppd_gset on rlarp.price_pool_dev using gin (gset);