Read CSV from local Git repository.
read_git_csv(repo, hex = NA, path, ...)
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') |
This function reads a csv file from a commit from a git repository.
# 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) # }