Could you turn this into a REPRoducible EXample (reprex) by providing some sample data? That would make things easier.