Skip to content

Parallelize covidcast_signal()? #279

@huisaddison

Description

@huisaddison

I noticed that covidcast_signal() can be slow; but the operation is easily parallelizable using a tool like parallel::mclapply(). (I realized this after I wrapped single-day covidcast_signal() queries in such a parallel operation, and I basically get a nice n_core times speedup).

I quickly sketched PR draft #278 to give an idea for how we could stick this inside the package, and if it is a good idea (reasons I can think of for it being a "bad idea": parallelism is finicky enough that maybe we prefer to defer it to an end user...) then I (or somebody else interested) can put some time into building, testing, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions