#' My mayfly fetcher function
#'
#' Could also accept the data.info arg but won't because we don't use it.
#' Intentionally switching up the arg order just to show that it can be done
#' (though it's not necessarily a great idea)
fetch.mayfly_nymph <- function(viz) {
# this function doesn't actually do, or need to do, anything
message("fetching mayfly_nymph from ", viz[['location']], " to ", viz[['location']])
message("a mayfly is a kind of ", viz$info)
}
#' The quickest way to implement a fetchTimestamp method for a local file is by
#' copying alwaysCurrent
fetchTimestamp.mayfly_nymph <- alwaysCurrent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.