uace-azmet / azmet-forecast-qa

Developing QA/QC routines for AZMet
0 stars 1 forks source link

Speed up report loading time by using pins for daily and hourly data #49

Closed Aariq closed 1 year ago

Aariq commented 1 year ago

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