Displaying 3 results from an estimated 3 matches for "testnow".
Did you mean:
testnew
2023 Dec 30
1
Help request: Parsing docx files for key words and appending to a spreadsheet
...e object 'full_filename' exists, what
is happening is that the path from getwd() is being appended to the
title of the article, but without the '/' between the end of the path
name (here 'TEST' and the name of the article. In other words,
full_filename is reading "~/TESTNow they want us to charge our electric
cars from litter bins.docx", so logically, this file doesn't exist. To
work, the '/' needs to be inserted to differentiate between the end of
the path name and the start of the article name. I've tried both paste0,
as you suggested, and p...
2023 Dec 29
1
Help request: Parsing docx files for key words and appending to a spreadsheet
help(read_docx) says that the function only imports one docx file. In
> order to read multiple files, use a for loop or the lapply function.
>
I told you people will suggest better ways to loop!!
>
> docx_summary(read_docx("Now they want us to charge our electric cars
> from litter bins.docx")) should work.
>
Ivan thanks for spotting my fail! Since the OP is new to
2023 Dec 30
1
Help request: Parsing docx files for key words and appending to a spreadsheet
...ll_filename' exists, what
> is happening is that the path from getwd() is being appended to the
> title of the article, but without the '/' between the end of the path
> name (here 'TEST' and the name of the article. In other words,
> full_filename is reading "~/TESTNow they want us to charge our electric
> cars from litter bins.docx", so logically, this file doesn't exist. To
> work, the '/' needs to be inserted to differentiate between the end of
> the path name and the start of the article name. I've tried both paste0,
> as you...