get_data: get_data Access data used in examples in the Epi R Handbook....

View source: R/get_data.R

get_dataR Documentation

get_data Access data used in examples in the Epi R Handbook. Use get_data("all") to save all data, or give a specific file name.

Description

get_data

Access data used in examples in the Epi R Handbook. Use get_data("all") to save all data, or give a specific file name.

Usage

get_data(file = NULL, path = rstudioapi::selectDirectory())

Arguments

file

Name and file extension of the data to be downloaded string or "all" which will save all Epidemiology R Handbook example files

path

Run with no arguments to pick a directory interactively. Path on your computer where the file(s) should be saved to string


appliedepi/epirhandbook documentation built on Sept. 2, 2024, 6:32 a.m.