Re: [R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
M KULKARNI From: Jeff Newmiller Sent: Monday, April 10, 2023 12:53 AM To: akshay kulkarni ; r-help@r-project.org Subject: Re: [R] extracting pdf tables... I don't know... I have never used tabulizer (which is no longer on CRAN anyway). In general you would provide an argument t

Re: [R] extracting pdf tables...

2023-04-09 Thread Jeff Newmiller
Newmiller >Sent: Monday, April 10, 2023 12:27 AM >To: akshay kulkarni ; r-help@r-project.org > >Subject: Re: [R] extracting pdf tables... > >Your code used cbind. My first answer was appropriate for rbind. > >So you still need to figure out how to deal with the different

Re: [R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
parsed as the column name. How do you make that the first row of IDT[[4]]? Thanking you, Yours sincerely, AKSHAY M KULKARNI From: Jeff Newmiller Sent: Monday, April 10, 2023 12:27 AM To: akshay kulkarni ; r-help@r-project.org Subject: Re: [R] extracting pdf table

Re: [R] extracting pdf tables...

2023-04-09 Thread Jeff Newmiller
eff, > I want to rbind. > >Thanking you, >Yours sincerely, >AKSHAY M KULKARNI > >From: R-help on behalf of Jeff Newmiller > >Sent: Sunday, April 9, 2023 11:57 PM >To: r-help@r-project.org >Subject: Re: [R] extracting pdf tabl

Re: [R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
Dear Jeff, I want to rbind. Thanking you, Yours sincerely, AKSHAY M KULKARNI From: R-help on behalf of Jeff Newmiller Sent: Sunday, April 9, 2023 11:57 PM To: r-help@r-project.org Subject: Re: [R] extracting pdf tables... Sorry, did not read

Re: [R] extracting pdf tables...

2023-04-09 Thread Jeff Newmiller
Sorry, did not read closely enough. Did you want rbind (which has no problem with different numbers of rows) or merge (which requires that there be key columns that can be aligned by repeating data)? On April 9, 2023 10:49:09 AM PDT, Jeff Newmiller wrote: >Clearly the column names are

Re: [R] extracting pdf tables...

2023-04-09 Thread Jeff Newmiller
Clearly the column names are different. You need to decide what to do about that. Choose the subset of dataframes where the column names are the same? Rename columns? Omit some columns? Add missing columns filled with NA? On April 9, 2023 10:22:32 AM PDT, akshay kulkarni wrote: >Dear members,

[R] extracting pdf tables...

2023-04-09 Thread akshay kulkarni
Dear members, I am extracting a pdf table by the following code: > library(tabulizer) > IDT <- > extract_tables("https://www.canmoney.in/pdf/INTRADAYLEVERAGE-20220531-latest.pdf",output > = "data.frame") It returns 4 different data frames which I want to combine