# Get popularity metrics from CRAN or Bioconductor package

## CRAN download

    download_cran_df <- get_package_download_cran("admiral", years = 5)
    head(download_cran_df)

    version_infos <- check_and_fetch_cran_package("admiral")

## GitHub commit activity

    repo_info <- get_github_data("tidyverse", "ggplot2")
    repo_info

    df_commit <- get_commits_since("tidyverse", "ggplot2", years = 1)
    head(df_commit)

## Bioconductor download

    download_bio_df <- get_package_download_bioconductor("limma")
    head(download_bio_df$all_data)

    download_bio_df <- get_package_download_bioconductor("DESeq2")
    head(download_bio_df$all_data)