changed metrics_plot() so it includes total sales, simplified plot

[?]
AEj8dahVWy718uSSFPe9VSRJ5qX5G8pC2zvFzJJ8yzBd
Dec 10, 2023, 12:43 AM
3EZS3IU6VKUGYH3TKTKGIAK2QIHZLZTVFAQCCTCEOT2ME3GP3DIQC

Dependencies

Change contents

  • replacement in src/FiordlandPacks.jl at line 27
    [3.938][3.938:1107]()
    table = pretty_table(df; title="Metrics", header=["Week", "Contact", "Builder", "Checkout", "ACTIONS", "Shopify", "Invoice", "Google"], display_size=(30, 300))
    [3.938]
    [3.1107]
    transform!(df, [:Shopify_Sales, :Invoice_Sales] => (a, b) -> a .+ b)
    select!(df, :Week, :Contact_Submit, :Pack_Builder_Clicks, :Checkouts_Created, :Customer_Actions,
    :Shopify_Sales, :Invoice_Sales, :Shopify_Sales_Invoice_Sales_function => "Sales", :Google_Spend)
    table = pretty_table(df; title="Metrics",
    header=["Week", "Contact", "Builder", "Checkout", "ACTIONS", "Shopify", "Invoice", "Sales", "Google"],
    display_size=(30, 300))
  • replacement in src/FiordlandPacks.jl at line 34
    [3.1108][3.1108:1201]()
    df2 = Base.stack(df, [:Customer_Actions, :Shopify_Sales, :Invoice_Sales, :Google_Spend])
    [3.1108]
    [3.1201]
    df2 = Base.stack(df, [:Customer_Actions, :Sales, :Google_Spend])
  • replacement in images_and_tables/metrics_fiordland_packs.png at line 1
    [3.394888][2.37607:83388]()
    [3.394888]