get_compressed_data: Download a Compressed File and Decompress its Contents

Description Usage Arguments Value Examples

Description

Possible file types include .zip, .gz, and .tar

Usage

1

Arguments

url

A character vector representing the full url to the compressed file

target_dir

The directory where the compressed file should be downloaded

force

An optional argument which forcefully overwrites existing data

Value

Download and extract the compressed data file

Examples

1
2
3
4
5
get_compressed_data(url = "http://www.test.com/file.zip", target_dir = "./")
## Not run: 
get_compressed_data(url = "http://www.test.com/file.zip", target_dir = "./")

## End(Not run)

WFU-TLC/analyzr documentation built on June 4, 2019, 2:27 p.m.