Description Usage Arguments Value See Also Examples
pageview_timestamps
converts Date
and POSIXlt
and ct
objects to work nicely with the start
and end
parameters in pageviews functions.
1 | pageview_timestamps(timestamps = Sys.Date(), first = TRUE)
|
timestamps |
a vector of character, Date, POSIXlt or POSIXct objects. |
first |
whether to, if |
a character vector containing timestamps that can be used with article_pageviews
et al.
article_pageviews
and project_pageviews
, where you
can make use of this function.
1 2 3 4 5 6 7 8 | # Using a Date
pageview_timestamps(Sys.Date())
# Using a POSIXct object
pageview_timestamps(Sys.time())
# Validate a character string
pageview_timestamps("2016020800")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.