Generate badges

data-pipelines

Structure

Rebuilding

This data (and this page) rebuild automatically based on the CRON schedule specified in the github action.

Run the pipeline with targets::tar_make()

Check the pipeline with targets::tar_manifest(fields = all_of("command"))

Visualise the pipeline with targets::tar_visnetwork()

graph LR
  style Legend fill:#FFFFFF00,stroke:#000000;
  style Graph fill:#FFFFFF00,stroke:#000000;
  subgraph Legend
    direction LR
    xf1522833a4d242c5([""Up to date""]):::uptodate --- xd03d7c7dd2ddda2b([""Stem""]):::none
    xd03d7c7dd2ddda2b([""Stem""]):::none --- xeb2d7cac8a1ce544>""Function""]:::none
  end
  subgraph Graph
    direction LR
    x948293e9086ae8f1(["cran"]):::uptodate --> x5efdf754c98f2877(["badge_data"]):::uptodate
    xb71780a2eabad3fe>"create_badge_data"]:::uptodate --> x5efdf754c98f2877(["badge_data"]):::uptodate
    x1e9850010bddc785(["github"]):::uptodate --> x5efdf754c98f2877(["badge_data"]):::uptodate
    x2f12837377761a1b(["pkgs"]):::uptodate --> x5efdf754c98f2877(["badge_data"]):::uptodate
    x750f6fcb21cff3e4>"get_github"]:::uptodate --> x1e9850010bddc785(["github"]):::uptodate
    x2f12837377761a1b(["pkgs"]):::uptodate --> x1e9850010bddc785(["github"]):::uptodate
    x5efdf754c98f2877(["badge_data"]):::uptodate --> xa38c900c83e9aeb2(["saved_data"]):::uptodate
    x4a9bd41924e0fdb4>"write_data"]:::uptodate --> xa38c900c83e9aeb2(["saved_data"]):::uptodate
    xfe347530c26e9324>"get_pharmaverse_pkgs"]:::uptodate --> x2f12837377761a1b(["pkgs"]):::uptodate
    x1d8fa3d3d3d4576d>"get_cran"]:::uptodate --> x948293e9086ae8f1(["cran"]):::uptodate
    x2f12837377761a1b(["pkgs"]):::uptodate --> x948293e9086ae8f1(["cran"]):::uptodate
  end
  classDef uptodate stroke:#000000,color:#ffffff,fill:#354823;
  classDef none stroke:#000000,color:#000000,fill:#94a4ac;
  linkStyle 0 stroke-width:0px;
  linkStyle 1 stroke-width:0px;

Output

The current files are available

arrow::read_parquet(
  "https://openpharma.github.io/generate_badges/output/data.parquet"
  ) |>
  dplyr::glimpse()
Rows: 40
Columns: 5
$ name               <chr> "admiral", "admiralonco", "admiralophtha", "admiral…
$ repo               <chr> "pharmaverse/admiral", "pharmaverse/admiralonco", "…
$ badge_cran         <chr> "1.1.1", "1.1.0", "1.1.0", "0.1.0", "0.3.0", NA, NA…
$ badge_contributors <int> 80, 22, 21, 11, 17, 7, 15, 11, 12, 27, 4, 9, 3, 6, …
$ badge_stars        <int> 224, 31, 15, 13, 6, 9, 42, 33, 15, 11, 21, 13, 14, …