get_dataset_version: Get the version tag of the last downloaded version of a...

View source: R/get_data.R

get_dataset_versionR Documentation

Get the version tag of the last downloaded version of a dataset

Description

For a given dataset, returns the version tag of the version that was last downloaded - the one that is on your computer right now.

Usage

get_dataset_version(dataset)

Arguments

dataset

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

Details

The main assumed usage is switching from using get_all_basiclevel() without the version argument.

Use interactively only and put the actual version string literal in your code.

Value

list with two keys: version and date

Examples

all_bl_version <- get_dataset_version('all_basiclevel')
print(all_bl_version$version)
print(all_bl_version$date)

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