{
  "_id": "6a1d4c5d1d7bb097a0a43c94",
  "Package": "bbsBayes2",
  "Type": "Package",
  "Title": "Hierarchical Bayesian Analysis of North American BBS Data",
  "Version": "1.1.3.3",
  "Authors@R": "c(person(\"Brandon P.M.\", \"Edwards\", role = c(\"aut\", \"cre\"),\nemail = \"brandonedwards3@cmail.carleton.ca\"),\nperson(\"Adam C.\", \"Smith\", role = \"aut\",\nemail = \"adam.smith@ec.gc.ca\"),\nperson(\"Steffi\", \"LaZerte\", role = \"aut\",\nemail = \"steffi@steffi.ca\"))",
  "SystemRequirements": "CmdStan\n(https://mc-stan.org/users/interfaces/cmdstan)",
  "URL": "https://github.com/bbsBayes/bbsBayes2,\nhttps://bbsbayes.github.io/bbsBayes2/",
  "BugReports": "https://github.com/bbsBayes/bbsBayes2/issues",
  "NeedsCompilation": "no",
  "Description": "The North American Breeding Bird Survey (BBS) is a\nlong-running program that seeks to monitor the status and\ntrends of the breeding birds in North America. Since its start\nin 1966, the BBS has accumulated over 50 years of data for over\n500 species of North American Birds. Given the temporal and\nspatial structure of the data, hierarchical Bayesian models are\nused to assess the status and trends of these 500+ species of\nbirds. 'bbsBayes2' allows you to perform hierarchical Bayesian\nanalysis of BBS data. You can run a full model analysis for one\nor more species, or you can take greater more control and\nspecify how the data should be stratified, prepared for 'Stan',\nor modelled.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Additional_repositories": "https://mc-stan.org/r-packages/,\nhttps://ropensci.r-universe.dev",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libsecret-1-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev libx11-dev",
  "Repository": "https://bbsbayes.r-universe.dev",
  "Date/Publication": "2026-01-30 18:54:26 UTC",
  "RemoteUrl": "https://github.com/bbsBayes/bbsBayes2",
  "RemoteRef": "HEAD",
  "RemoteSha": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
  "Packaged": {
    "Date": "2026-06-01 08:54:28 UTC",
    "User": "root"
  },
  "Author": "Brandon P.M. Edwards [aut, cre],\nAdam C. Smith [aut],\nSteffi LaZerte [aut]",
  "Maintainer": "Brandon P.M. Edwards <brandonedwards3@cmail.carleton.ca>",
  "MD5sum": "5808428fa14a3ecbed959654337231e2",
  "_user": "bbsbayes",
  "_type": "src",
  "_file": "bbsBayes2_1.1.3.3.tar.gz",
  "_fileid": "f7e9ae8ed920fda39b819b921d0fc350296af927df89897539ee9d2a567e5732",
  "_filesize": 12563381,
  "_sha256": "f7e9ae8ed920fda39b819b921d0fc350296af927df89897539ee9d2a567e5732",
  "_created": "2026-06-01T08:54:28.000Z",
  "_published": "2026-06-01T09:09:49.330Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78818405096,
      "time": 543,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7327460928"
    },
    {
      "job": 78818405069,
      "time": 619,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7327486011"
    },
    {
      "job": 78818405079,
      "time": 714,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7327518094"
    },
    {
      "job": 78818405103,
      "time": 393,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7327410354"
    },
    {
      "job": 78817661403,
      "time": 269,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327275893"
    },
    {
      "job": 78818405073,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7327333119"
    },
    {
      "job": 78818405123,
      "time": 828,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7327552917"
    },
    {
      "job": 78818405128,
      "time": 775,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7327537656"
    },
    {
      "job": 78818405091,
      "time": 701,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7327513608"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bbsBayes/bbsBayes2",
  "_commit": {
    "id": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
    "author": "Adam C Smith <47156905+AdamCSmithCWS@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #114 from bbsBayes/dev\n\nfixing bug in stratify subsets",
    "time": 1769799266
  },
  "_maintainer": {
    "name": "Brandon P.M. Edwards",
    "email": "brandonedwards3@cmail.carleton.ca",
    "login": "brandonedwards",
    "description": "📊Ecological Statistician at Ducks Unlimited Canada @DUC-IWWR. Research at the intersection of 🦆ecology, 📈statistics, and 👨‍💻computer science.",
    "uuid": 17439906
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "backports",
      "version": ">= 1.4.1",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "geofacet",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "HDInterval",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.4",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 2.1.2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.11",
      "role": "Imports"
    },
    {
      "package": "sbtools",
      "role": "Imports"
    },
    {
      "package": "sf",
      "version": ">= 1.0.8",
      "role": "Imports"
    },
    {
      "package": "spdep",
      "version": ">= 1.2.7",
      "role": "Imports"
    },
    {
      "package": "snakecase",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "units",
      "version": ">= 0.8.0",
      "role": "Imports"
    },
    {
      "package": "withr",
      "version": ">= 2.5.0",
      "role": "Imports"
    },
    {
      "package": "cmdstanr",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rnaturalearth",
      "role": "Suggests"
    },
    {
      "package": "rnaturalearthhires",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bbsbayes",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 2
    },
    {
      "week": "2026-05",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v.1.1.3",
      "date": "2025-12-12"
    },
    {
      "name": "v.1.1.3.1",
      "date": "2025-12-12"
    },
    {
      "name": "v.1.1.3.2",
      "date": "2026-01-26"
    },
    {
      "name": "v.1.1.3.3",
      "date": "2026-01-30"
    }
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "adamcsmithcws",
      "count": 191,
      "uuid": 47156905
    },
    {
      "user": "steffilazerte",
      "count": 50,
      "uuid": 14676081
    },
    {
      "user": "l-daly",
      "count": 2,
      "uuid": 129316408
    },
    {
      "user": "brandonedwards",
      "count": 1,
      "uuid": 17439906
    }
  ],
  "_userbio": {
    "uuid": 122904625,
    "type": "organization",
    "name": "bbsBayes",
    "description": "Project for R packages conducting hierarchical Bayesian analysis of North American breeding bird survey data"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bbsBayes2"
  },
  "_devurl": "https://github.com/bbsbayes/bbsbayes2",
  "_pkgdown": "https://bbsbayes.github.io/bbsBayes2/",
  "_searchresults": 157,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bbsBayes2.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "assign_prov_state",
    "copy_model_file",
    "fetch_bbs_data",
    "generate_indices",
    "generate_trends",
    "get_convergence",
    "get_model_vars",
    "get_summary",
    "have_bbs_data",
    "have_cmdstan",
    "load_bbs_data",
    "load_map",
    "plot_geofacet",
    "plot_indices",
    "plot_map",
    "prepare_data",
    "prepare_model",
    "prepare_spatial",
    "remove_cache",
    "run_model",
    "save_model_run",
    "search_species",
    "stratify"
  ],
  "_datasets": [
    {
      "name": "bbs_data_sample",
      "title": "Sample BBS data",
      "object": "bbs_data_sample",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "bbs_models",
      "title": "Stan models included in bbsBayes2",
      "object": "bbs_models",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "model",
        "variant",
        "file"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "bbs_strata",
      "title": "List of included strata",
      "object": "bbs_strata",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "equal_area_crs",
      "title": "equal_area_crs",
      "object": "equal_area_crs",
      "class": [
        "crs"
      ],
      "fields": [],
      "table": true,
      "tojson": false
    },
    {
      "name": "pacific_wren_model",
      "title": "Example model output",
      "object": "pacific_wren_model",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "species_forms",
      "title": "Species forms",
      "object": "species_forms",
      "class": [
        "data.frame"
      ],
      "fields": [
        "aou_unid",
        "english_original",
        "english_combined",
        "french_combined",
        "aou_id"
      ],
      "rows": 14,
      "table": true,
      "tojson": true
    },
    {
      "name": "species_notes",
      "title": "Species notes",
      "object": "species_notes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "english",
        "french",
        "aou",
        "minimum_year",
        "warning"
      ],
      "rows": 6,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "assign_prov_state",
      "title": "Categorize polygon by Province/State",
      "concept": [
        "helper functions"
      ],
      "topics": [
        "assign_prov_state"
      ]
    },
    {
      "page": "bbs_data_sample",
      "title": "Sample BBS data",
      "topics": [
        "bbs_data_sample"
      ]
    },
    {
      "page": "bbs_models",
      "title": "Stan models included in bbsBayes2",
      "topics": [
        "bbs_models"
      ]
    },
    {
      "page": "bbs_strata",
      "title": "List of included strata",
      "topics": [
        "bbs_strata"
      ]
    },
    {
      "page": "bbsBayes2-defunct",
      "title": "bbsBayes2 defunct functions",
      "topics": [
        "bbsBayes2-defunct"
      ]
    },
    {
      "page": "bbsBayes2-deprecated",
      "title": "bbsBayes2 deprecated functions",
      "topics": [
        "bbsBayes2-deprecated"
      ]
    },
    {
      "page": "copy_model_file",
      "title": "Copy model file",
      "concept": [
        "modelling functions"
      ],
      "topics": [
        "copy_model_file"
      ]
    },
    {
      "page": "equal_area_crs",
      "title": "equal_area_crs",
      "topics": [
        "equal_area_crs"
      ]
    },
    {
      "page": "fetch_bbs_data",
      "title": "Fetch Breeding Bird Survey dataset",
      "concept": [
        "BBS data functions"
      ],
      "topics": [
        "fetch_bbs_data"
      ]
    },
    {
      "page": "generate_indices",
      "title": "Regional annual indices of abundance",
      "concept": [
        "indices and trends functions"
      ],
      "topics": [
        "generate_indices"
      ]
    },
    {
      "page": "generate_trends",
      "title": "Generate regional trends",
      "concept": [
        "indices and trends functions"
      ],
      "topics": [
        "generate_trends"
      ]
    },
    {
      "page": "get_convergence",
      "title": "Convergence metrics",
      "concept": [
        "model assessment functions"
      ],
      "topics": [
        "get_convergence"
      ]
    },
    {
      "page": "get_model_vars",
      "title": "Get model variables",
      "concept": [
        "model assessment functions"
      ],
      "topics": [
        "get_model_vars"
      ]
    },
    {
      "page": "get_summary",
      "title": "Return the 'cmdstanr' summary",
      "concept": [
        "model assessment functions"
      ],
      "topics": [
        "get_summary"
      ]
    },
    {
      "page": "have_bbs_data",
      "title": "Check whether BBS data exists locally",
      "concept": [
        "BBS data functions"
      ],
      "topics": [
        "have_bbs_data"
      ]
    },
    {
      "page": "have_cmdstan",
      "title": "Check if cmdstan is installed",
      "topics": [
        "have_cmdstan"
      ]
    },
    {
      "page": "load_bbs_data",
      "title": "Load Breeding Bird Survey data",
      "concept": [
        "BBS data functions"
      ],
      "topics": [
        "load_bbs_data"
      ]
    },
    {
      "page": "load_map",
      "title": "Load a geographic strata map",
      "concept": [
        "helper functions"
      ],
      "topics": [
        "load_map"
      ]
    },
    {
      "page": "pacific_wren_model",
      "title": "Example model output",
      "topics": [
        "pacific_wren_model"
      ]
    },
    {
      "page": "plot_geofacet",
      "title": "Create geofacet plot of population trajectories by province/state",
      "concept": [
        "indices and trends functions"
      ],
      "topics": [
        "plot_geofacet"
      ]
    },
    {
      "page": "plot_indices",
      "title": "Generate plots of index trajectories by stratum",
      "concept": [
        "indices and trends functions"
      ],
      "topics": [
        "plot_indices"
      ]
    },
    {
      "page": "plot_map",
      "title": "Generate a map of trends by strata",
      "concept": [
        "indices and trends functions"
      ],
      "topics": [
        "plot_map"
      ]
    },
    {
      "page": "prepare_data",
      "title": "Filter for data quality",
      "concept": [
        "Data prep functions"
      ],
      "topics": [
        "prepare_data"
      ]
    },
    {
      "page": "prepare_model",
      "title": "Prepare model parameters",
      "concept": [
        "Data prep functions"
      ],
      "topics": [
        "prepare_model"
      ]
    },
    {
      "page": "prepare_spatial",
      "title": "Define neighbouring strata for spatial analyses",
      "concept": [
        "Data prep functions"
      ],
      "topics": [
        "prepare_spatial"
      ]
    },
    {
      "page": "remove_cache",
      "title": "Remove bbsBayes2 cache",
      "concept": [
        "BBS data functions"
      ],
      "topics": [
        "remove_cache"
      ]
    },
    {
      "page": "run_model",
      "title": "Run Bayesian model",
      "concept": [
        "modelling functions"
      ],
      "topics": [
        "run_model"
      ]
    },
    {
      "page": "save_model_run",
      "title": "Save output of run_model()",
      "concept": [
        "modelling functions"
      ],
      "topics": [
        "save_model_run"
      ]
    },
    {
      "page": "search_species",
      "title": "Search for species",
      "concept": [
        "helper functions"
      ],
      "topics": [
        "search_species"
      ]
    },
    {
      "page": "species_forms",
      "title": "Species forms",
      "topics": [
        "species_forms"
      ]
    },
    {
      "page": "species_notes",
      "title": "Species notes",
      "topics": [
        "species_notes"
      ]
    },
    {
      "page": "stratify",
      "title": "Stratify and filter Breeding Bird Survey data",
      "concept": [
        "Data prep functions"
      ],
      "topics": [
        "stratify"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bbsBayes/bbsBayes2/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bbsBayes/bbsBayes2/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "bit",
    "bit64",
    "boot",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "deldir",
    "distributional",
    "dplyr",
    "e1071",
    "farver",
    "filelock",
    "generics",
    "geofacet",
    "geogrid",
    "ggplot2",
    "ggrepel",
    "glue",
    "gridExtra",
    "gtable",
    "HDInterval",
    "hms",
    "httr",
    "httr2",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "keyring",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mgcv",
    "mime",
    "nlme",
    "numDeriv",
    "openssl",
    "pillar",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "progress",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readr",
    "rlang",
    "rnaturalearth",
    "s2",
    "S7",
    "sbtools",
    "scales",
    "sf",
    "snakecase",
    "sp",
    "spData",
    "spdep",
    "stringi",
    "stringr",
    "sys",
    "tensorA",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "wk",
    "yaml"
  ],
  "_score": 5.053232148840503,
  "_indexed": true,
  "_nocasepkg": "bbsbayes2",
  "_universes": [
    "bbsbayes",
    "brandonedwards"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:57:35.000Z",
      "distro": "noble",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "967c184dfd675625d1b99838106536fa566922fd6d04084e07955e03bf8534aa",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:58:24.000Z",
      "distro": "noble",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "5e395a7ef3e39eb5ea48bed2ed877d9affe2d6fdfbdd5186e27b8570ed732c1f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:57:01.000Z",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "dd8467cefd0a4318ce6aa1a4be13787591bfd174ddba0b46fada785779f17e0b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:56:55.000Z",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "824a8a26ce70f95279b4ecc491e0076641abd6b998e0def9372d92cb55412378",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:57:56.000Z",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "a8b12cf7b42405b88cce55563ab3ba9720ee25f8def94d98fa6be5ffcaaf36e2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:56:34.000Z",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "a807df835c6fb4f30b833001b0d8f4013a7c5c051e46a9d562dc1f14741ae321",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:57:02.000Z",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "0909482ba3f7aaef5dd5d07ef918f5a45aa9e5314f72a81245ef935f3bd6dc0c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.3.3",
      "date": "2026-06-01T08:56:19.000Z",
      "commit": "70f32c2fbf9bdb868b890295cb3541662cf31c90",
      "fileid": "8efeb6f6e7f34f6bc74c9f21807af4ba9cf2b1b74f14f5409fce4b9a25622427",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bbsbayes/actions/runs/26744848790"
    }
  ]
}