Hi, and welcome!
Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.
I'm probably not the right guy to answer this based on my toolkit, but others in the community are more geared to this. A reprex
will make it easier for them.