Hi everyone,
Here is an example use case:
There is a list_of_known_pokemon.csv maintained somewhere on the internet. It has columns "pokemon_id", and associated characteristics such as "name", "weight", "height" and "class". This list expands as more pokemons are discovered daily.
We want to create a Shiny app that will display this table. We also want the users of the shiny app to be able to indicate that we have caught a pokemon and on which date it was caught.
How should we proceed?
My current thought process would be to maintain a "data/list_of_caught_pokemons.csv" file on the shiny repo. It would have two colums: "pokemon_id" and "date_caught". If we have caught 7 pokemons so far then the file would have 7 rows.
In the shiny app, we display the result of
list_of_known_pokemon %>% left_join(list_of_caught_pokemons)
The shiny user would edit the "date_caught" column in the shiny (HOW?) to indicate a new pokemon has been caught, then press a button that would "export an updated version of 'list_of_caught_pokemons.csv', and commit it to the shiny repo"
I think that would work, but I'm afraid we might run into issues when 2+ users are using the app at the same time.
Any ideas would be greatly appreciated.
thanks!