Description Usage Arguments Details Value Author(s) Examples
View source: R/ghGetReferrers.R
This function get data about views and unique views from GitHub API by popular repositories refferals.
1 | ghGetReferrers(user = NULL, repos = NULL, token = NULL)
|
user |
Your GitHun login |
repos |
Repository alias |
token |
Your GitHub API token, you can get him this link - https://github.com/settings/tokens, for more ditail go this link https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization |
GitHub API dicumentation - https://developer.github.com/v3/
Data frame with data by last 14 days:
referrer |
Referrer URL, character |
views |
count of total views, integer |
uniques |
count of unique views, integer |
Alexey Seleznev
1 | git_reffer <- ghGetReferrers(user = "selesnow", repos = "ryandexdirect", token = "abcde12345")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.