DeliveryMetrics (wsdataselect v1.1.21)

Copy Markdown View Source

Plug module to compute metrics for Delivery metrics.

Summary

Functions

We assume that datadir is present in the Plug. ie. the Plug.Conn has already traversed all previous steps

Functions

amount_delivered(filters)

@spec amount_delivered(String.t() | list()) :: [DeliveryMetrics.Data.t()]

call(conn, opts)

@spec call(Plug.Conn.t(), list()) :: Plug.Conn.t()

We assume that datadir is present in the Plug. ie. the Plug.Conn has already traversed all previous steps

extend_network(net, year)

@spec extend_network(String.t(), String.t() | integer()) :: {:ok | :error, String.t()}

init(opts)