Description Usage Arguments Details Value Author(s) Examples
This function get repositories statistic by views and unique views by last 14 days from GitHub API.
1 |
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:
timestamp |
statistic date, date |
views |
count of total views, integer |
uniques |
count of unique views, integer |
Alexey Seleznev
1 | github_stat <- ghGetView(user = "selesnow", repos = "ryandexdirect", token = "abcde12345")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.