View source: R/download_IPEDS.R
download_ipeds | R Documentation |
This function will download IPEDS data in MS Access file format. By default, files are downloaded to a subfolder of the ipeds package in the system's R library directory. Once downloaded, the MS Access database will be converted to a R data file for faster loading in subsequent R sessions.
download_ipeds( year = as.integer(format(Sys.Date(), "%Y")) - 1, dir = getIPEDSDownloadDirectory(), useProvisional = TRUE, force = FALSE, cleanup = FALSE, timeout = 300, ... )
year |
the year of the survey |
dir |
the directory to download the data to. Defaults to the package directory. |
useProvisional |
if TRUE, provisional data files will be downloaded if the final version is not available. |
force |
if TRUE, the function will redownload the file. |
cleanup |
if TRUE, the zip and MS Access files will be deleted after the Rda file is created. |
timeout |
the amount of time, in milliseconds, to allow a file to download. |
... |
other parameters passed to url_exists. |
TRUE if the data has been successfully downloaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.