I would like to update the mailbox choropleth colorscale based on a dropdown menu selection. I found this which was developed in Python, but I would like to do the same for R/Shiny.