Read CSV from local Git repository.

read_git_csv(repo, hex = NA, path, ...)

Arguments

repo:

organization and repostiory name (e.g., 'OHI-Science/ohi-global')

hex:

hex SHA hex of commit (e.g., 'c7c7329')

path:

path to csv file (e.g., 'eez2015/scores.csv')

Details

This function reads a csv file from a commit from a git repository.

Examples

# NOT RUN {
# get csv from github repository by SHA hex of commit
old_data <- read_git_csv('OHI-Science/ohi-global', 'c7c7329', 'eez2015/scores.csv')
head(old_data)
# }