Description Usage Arguments Details
Get number of visits for a given URL
1 2 | get_visits(conn, table = "visites_par_jour", visited_urls = NULL,
from = "2017-01-01", to = Sys.Date())
|
conn |
a connection to the database from which the data is retrieved |
table |
the table name from which the data is agregated |
visited_urls |
a vector of urls |
This function only retains one hit per visit (in the meaning of piwik). Only non-zero values are kept; in order to show zero values, please use tidyr::complete
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.