Description Usage Arguments Details Value Note See Also
This helper function will download and unzip an Excel (.xlsx
) file
containing either the full results or the Research outputs (REF2)
submission data for every institution and every unit of assessment in the
Research Excellence Framework 2014.
1 | download_REF(type = c("results", "outputs"), destination = tempdir())
|
type |
Either 'outputs' or 'results' |
destination |
Optional directory in which to store the downloaded
|
Alternatively you can download the data yourself manually from the
REF 2014 web site.
Once downloaded, call read_excel
to import the data
from the spreadsheet into R.
Path to the downloaded/unzipped .xlsx
file of REF outputs
Unfortunately there is no way to read Excel files from an unz
connection, so it is necessary to save the file to disk. However, if you
leave the destination
to the default tempdir()
then you should
not need to worry too much about cleaning up the .xlsx
files
afterwards.
read_excel
, to import downloaded data into R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.