
Extract and combine data on all contributors to a repository.
Source:R/data-api-gh-user.R
repometrics_data_user.RdThis forms part of the data collated by the main repometrics_data function, along with data on repository structure and historical developed extracted by the repometrics_data_repo function.
Usage
repometrics_data_user(
login,
end_date = Sys.Date(),
nyears = 1,
n_per_page = 100
)Arguments
- login
GitHub login of user
- end_date
Parameter used in some aspects of resultant data to limit the end date of data collection. Defaults to
Sys.Date ().- nyears
Parameter <= 1 determining fraction of a year over which data up until
end_dateare collected.- n_per_page
Number of items per page to pass to GitHub GraphQL API requests. This should never need to be changed.
Value
A list of the following data.frame objects:
commit_cmtwith details of commits made on commitscommitswith summaries of all repositories to which user made commitsfollowersA list of followers of specified userfollowingA list of other people who nominated user is followinggeneralwith some general information about specified userissue_cmtswith information on all issue comments made by userissueswith information on all issues opened by user
See also
Other data:
repo_pkgstats_history(),
repometrics_data(),
repometrics_data_repo()