Hi @Rstudent3,
It looks like you have a good idea of how you want to set up your app, but it's hard to know how to help when we can't see the code you've already written.
Could you please post a minimal reproducible example so that others can run your code and help you do what you need to do? There's more information about how to make a minimal example here. If you can't share your data, you'll need to come up with a "dummy" dataset for the sample app.