Displaying 4 results from an estimated 4 matches for "greenwashing".
2023 Dec 30
1
Help request: Parsing docx files for key words and appending to a spreadsheet
...emi-automatic, that would be a god send and I might be able to do some
actual research on the articles before I reach my pensionable age. :-)
Title
Newspaper
Date
Section and page number
Length
Byline
Subject (only if the threshold of coverage for a specific subject is
>=50% is reached (e.g. Greenwashing (51%)) - if not, enter 'nil' and
move onto the next article in the folder
This is the ambition. I am clearly a long way short of that though.
Many thanks.
Andy
On 30/12/2023 00:08, Dr Eberhard W Lisse wrote:
> Andy,
>
> you can always open a public Dropbox or Google folder and...
2023 Dec 30
3
Help request: Parsing docx files for key words and appending to a spreadsheet
An update: Running this block of code:
# Load libraries
library(tcltk)
library(tidyverse)
library(officer)
filepath <- setwd(tk_choose.dir())
filename <- "Now they want us to charge our electric cars from litter
bins.docx"
#full_filename <- paste0(filepath, filename)
full_filename <- paste(filepath, filename, sep="/")
if (!file.exists(full_filename)) {
?
2024 Jan 06
0
Help request: Parsing docx files for key words and appending to a spreadsheet
...day is not important)) The section: "NEWS"
>> The page number(s): "16" (as numeric)
>> The length: "515" (as numeric)
>> The author: "Anna Mikhailova"
>> The subject: from the Subject section, but this is to match a value e.g.
>> GREENWASHING >= 50% (here this value is 51% so would be included). A
>> match moves onto select the highest value under the section "Industry"
>> (here it is ELECTRIC MOBILITY (91%)) and appends this text and % value.
>> If no match with 'Greenwashing', then appends 'N...
2023 Dec 30
1
Help request: Parsing docx files for key words and appending to a spreadsheet
Andy,
you can always open a public Dropbox or Google folder and post the link.
el
On 29/12/2023 22:37, Andy wrote:
> Thanks - I'll have a look at these options too.
>
> I'm happy to send over a sample document, but wasn't aware if
> attachments are allowed. The documents come Lexis+, so require user
> credentials to log in, but I could upload the file somewhere if