downread_csv: Download and Read a .csv File

Description Usage Arguments Value Examples

View source: R/downread_csv.R

Description

This function will check to see whether the csv file has been downloaded, and if not it will download the file. It will then load the file using the read_csv function.

Usage

1

Arguments

path

A character string with the name where the downloaded file is saved.

url

A character string naming the URL of a resource to be downloaded.

Value

A tibble

Examples

1
downread_csv('~/iris.csv', 'https://raw.githubusercontent.com/vincentarelbundock/Rdatasets/master/csv/datasets/iris.csv')

michaeltoth/tothr documentation built on May 22, 2019, 9:52 p.m.