Skip to content

Trying to download 'all fundraisers for a selected charity' in chunks (because of 9999 limit) #21

@daaronr

Description

@daaronr

In function get_charity_fundraising_pages in functions.R

The third line below is key:

  charity_search_name <- gsub(' ', '%20', charity_name)
  uri <- paste('/v1/onesearch?q=', charity_search_name, '&i=Fundraiser&limit=9999', sep = '')

We want to get all the pages for each charity. Thus we need to edit this line to take an argument limiting this to a subset of those pages, and then iterate this over all subsets.

This JG page describes the onesearch tool

Can we add something like "campaignId starts with letter {{letter}}" and then iterate this over all alphanumeric characters, and then join them?

Also commented here

@TWJolly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions