Hi all
In R Code it will be taking input up to Blank columns and blank rows. I need all data could you please suggest it to me.
Could you please suggest to me below R code
Input :
| Name | sal | | Location |
| Ajith | raj | | jskf |
| | | | |
| weqw | ewwq | | eqw |
| ewqe | e | | wew |
But it will be returns based on the R code
I have a few blank columns and rows
Output like the need for me
| Name | sal | Location |
| Ajith | raj | jskf |
| weqw | ewwq | eqw |
| ewqe | e | wew |
# install.packages(c("excel.link"),repos='https://cran.revolutionanalytics.com/',dependencies = TRUE)
library("excel.link")
df <- read.Alteryx("#1", mode="data.frame")
filename <- as.character(df[1,"FullPath"])
excel_pwd <- as.character(df[1,"excel_password"])
excel_sheet <- as.character(df[1,"Sheet_Name"])
excel_data <- xl.read.file(filename, xl.sheet = excel_sheet, password = excel_pwd, write.res.password=excel_pwd)
write.Alteryx(excel_data, 1)