download_seer: Download SEER data

Description Usage Arguments Value Examples

Description

Function to download and unzip latest seer file.

Usage

1
download_seer(user, pw, data_dir)

Arguments

user

This is your username for the most current SEER data

pw

This is your password for the most current SEER data

data_dir

This is the data directory in which the unzipped data will be saved. The zipped file will be downloaded to a temporary file location.

Value

This function results in a saved file at the location in data_dir.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# Set up download details and then download file from internet and unzip it to data_dir
# note file is over 300 MB and takes about 5 min to download
user <- "uuuuu-Nov2014"
pw <- "ppppp"
data_dir <- "./data/"
download_seer(user, pw, data_dir)

## End(Not run)

outcomesinsights/seer.tools documentation built on May 24, 2019, 5:54 p.m.