How to use Elixir's Enum.filter_map
https://niallburkley.com/blog/elixir-filter-map/
I wrote a short post to (hopefully) make it a little easier to understand how to use Elixir’s Enum.filter_map/3 to filter and map a collection.
Read next Refactoring for Tests in Elixir