read_excel_pw: Import password protected excel files

Description Usage Arguments Details Value

Description

Import password protected excel files

Usage

1
read_excel_pw(path, sheet = NULL, pw = NULL, rmHist = T)

Arguments

path

The path to the excel file.

sheet

The sheet that has to be read. Default is NULL, which causes the first sheet to be imported.

pw

Password of the excel file. Default is NULL and the user is then prompted to give the password using askForPassword.

rmHist

Logical, indicates whether the history has to be deleted.

Details

This function needs the package RDCOMClient, which can be installed using:
library(devtools)
install_github('omegahat/RDCOMClient')

Value

Returns the excel file as a dataframe.


BavoDC/RcryptAdj documentation built on May 16, 2019, 11:01 a.m.