Look at this as an alternative to what I have coded. https://github.com/Robinlovelace/geocompr/issues/532
Look at this as an alternative to what I have coded.
geocompx/geocompr#532