get_charity_fundraising_pages function (in functions.r) captures too much
Run in just_giving_data pull as
#Get all fundraisers for target charities (just basic information)
fundraiser_search_data <- map2(charity_data$charity_name, charity_data$regno, get_charity_fundraising_pages) %>% reduce(bind_rows)
with charities from file effective_charities.csv
is capturing many pages with one of the words in the charities' name somewhere in the entry; e.g., charity=="The Carter Center Inc" includes pages with 'carter' or 'the' in the entry somewhere.
I thought I'd fixed this already but can't find/remember/recover the fix.
get_charity_fundraising_pages function (in functions.r) captures too much
Run in just_giving_data pull as
with charities from file effective_charities.csv
is capturing many pages with one of the words in the charities' name somewhere in the entry; e.g., charity=="The Carter Center Inc" includes pages with 'carter' or 'the' in the entry somewhere.
I thought I'd fixed this already but can't find/remember/recover the fix.