Enable passing in empirical data to bootstrap
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
The issue describes changing the bootstrap function to accept data instead of selecting hard-coded US or UK data by country, but it names no source files or tests. Start by locating the bootstrap function and its callers, then check the related issues #99 and #97 for context. Done means users can supply the empirical data and the US and UK options pass the corresponding data into the bootstrap.
Written by the indexing model from the issue text.
Description
We currently do not allow users to pass in data to be bootstrapped. It could be nice to allow for users to pass in data to the bootstrap (if that data is provided in certain condition). The US and UK options would then select for US or UK data to be passed into the bootstrap function (rather than hard-coded within the bootstrap function.
If this were a user facing package I think this would be worth adding.
So the pattern I'd propose is like:
data <- us_data
bootstrap <- function(data) {
# do the bootstrap
}
Rather than what we do currently which is like:
bootstrap <- function(country) {
if(country == "US") {
data <- us_data
# do the bootstrap
}
# etc. etc.
}
See: #99, #97.
- Dominant language
- R
- Stars
- 8
- Forks
- 4
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from petal-code/helios
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
petal-code/helios#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
petal-code/helios#173 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
petal-code/helios#166 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
petal-code/helios#161 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
petal-code/helios#179 ·
All issues in petal-code/helios
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/ML-For-Beginners#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Rapporteket/rapbase#535 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
PecanProject/pecan#4218 · 1 comment ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
HenrikBengtsson/R.matlab#61 ·