path_to_file: Get file path to .csv files

Description Usage Arguments Details Source Examples

View source: R/path-to-file.R

Description

indianacovid19data has csv file types for all its datasets in the inst/extdata directory. This function makes them easy to access.

Usage

1

Arguments

name

Name of file in quotes with extension. If NULL, the available files will be listed.

Details

The csv file for hosp_react_tab doesn't include the list columns.

Source

The function is similar to palmerpenguins::path_to_file() with a few edits.

Examples

1
2
3
path_to_file()
path_to_file("hosp_msas_line.csv")
head(read.csv(path_to_file("hosp_msas_line.csv")))

ercbk/indianacovid19data documentation built on Dec. 20, 2021, 5:27 a.m.