Description Usage Arguments Value See Also Examples
is_pageview
accepts a sampled log file, read
with read_sampled_log
, and filters it to those rows
that meet the existing definition of "pageview", which is described
here.
1 |
data |
a data.frame returned from |
a data.frame with the same attributes as that of read_sampled_log
,
but only containing "pageviews".
read_sampled_log
, for retrieving the
sampled logs in the first place.
1 2 3 | #Get the latest day's pageviews
files <- get_files()
data <- to_pageviews(read_sampled_log(files[length(files)]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.