get_df_file: Downloads and then loads a csv/feather file from a specified...

View source: R/get_data.R

get_df_fileR Documentation

Downloads and then loads a csv/feather file from a specified version of a dataset

Description

Downloads and then loads a csv/feather file from a specified version of a dataset

Usage

get_df_file(
  repo,
  filename,
  version = NULL,
  col_types = NULL,
  version_already_handled = FALSE
)

Arguments

repo

dataset name: 'all_basiclevel', 'reliability', etc.

filename

name of a csv/feather file

version

version tag to checkout

col_types

Passed to readr::read_csv when filename ends with ".csv".

Value

tibble for feather files, data.frame for csv files

Examples


## Not run: 
get_df_file('all_basiclevel', 'all_basiclevel.csv', version = '0.1.0')

## End(Not run)

BergelsonLab/blabr documentation built on April 19, 2024, 7:21 p.m.