Could have targets pipeline run daily, pull all data from API, then save as a pin on Connect. Then the shiny app report doesn't have to run the code to pull the latest data, it just loads the pin.
Pros: should speed up loading time hugely
Cons: data might be out of date by a day if the script to create the pin hasn't run yet
Could have targets pipeline run daily, pull all data from API, then save as a pin on Connect. Then the shiny app report doesn't have to run the code to pull the latest data, it just loads the pin.
Pros: should speed up loading time hugely Cons: data might be out of date by a day if the script to create the pin hasn't run yet