Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Enable passing in empirical data to bootstrap

Aperta
#100 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
r
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

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.

Lingua principale
R
Stelle
8
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di petal-code/helios

Tutte le issue di petal-code/helios

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.