[R] [External] Data is not properly written in csv file
Richard M. Heiberger
rmh @end|ng |rom temp|e@edu
Tue Jun 22 00:17:22 CEST 2021
copy and paste from pdf usually scrambles tables. this package is probably suffering from that pdf characteristic.
> On Jun 20, 2021, at 11:03, Sri Priya <sri.chocho using gmail.com> wrote:
> Dear R Users,
> I am working on extracting tables from PDF and I am writing that in a csv
> file. When I executed the code, the tables were not properly written in the
> csv file.
> Here is my code:
> # Location of pdf file.
> location <- '
> # Extract the table
> out <- extract_tables(location)
> for(i in 1:length(out))
> write.table(out[i], file='Output.csv',append=TRUE, sep=",",quote =
> I enclosed the screenshot of the output file. In that you can see
> the tables are incomplete.
> Any help would be appreciated.
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help