What about getSheets, please? That will get the sheet names.
On Tue, May 26, 2020 at 8:59 PM Ravi Jeyaraman <rav...@gmail.com> wrote: > I’ve already tried that and doesn’t work > > > > *From:* Erin Hodgess [mailto:erinm.hodg...@gmail.com] > *Sent:* Tuesday, May 26, 2020 10:55 PM > *To:* Ravi Jeyaraman <rav...@gmail.com> > *Cc:* r-help@r-project.org > *Subject:* Re: [R] read_excel() ignore case of worksheet name? > > > > Here’s a thought, please. Could you use the tolower function and make > them all lower case? > > > > Thanks, > > Erin > > > > On Tue, May 26, 2020 at 8:21 PM Ravi Jeyaraman <rav...@gmail.com> wrote: > > Hello All, Is there any parameter to make read_excel() ignore the > case-sensitiveness of the worksheet? I'm using the below to ready in > multiple spreadsheets and it works perfectly fine if the worksheet is named > 'Tables', but fails when it's named ' TABLES'. Any thoughts? > > lapply(1:nrow(SIS), function(x) readxl::read_excel(SIS$FULL_FILEPATH[x], > sheet='Tables', .name_repair = fixColNames)) > > Thanks in advance for your response. > > Cheers > Ravi > > > > -- > This email has been checked for viruses by AVG. > https://www.avg.com > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > -- > > Erin Hodgess, PhD > > mailto: erinm.hodg...@gmail.com > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free. > www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-1767373775547039939_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > -- Erin Hodgess, PhD mailto: erinm.hodg...@gmail.com [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.