View source: R/get_dash_data.R
get_dash_data | R Documentation |
By default, this will re-download data from the djprdashdata
repo if
the current dashboard's data is out of date.
get_dash_data(
refresh = c("auto", "always", "never"),
branch = "main",
verbose = F
)
refresh |
Refresh behaviour. Possible values:
|
branch |
The GitHub branch to download data from |
verbose |
Whether to print verbose messages |
A table with dashboard data.
If refresh
was auto
or always
, attr(*, "date_updated")
will contain
a timestamp of when the data was last updated.
get_dash_data(refresh = "never") # Just return internally cached data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.