Skip to contents

Pulls the lineage notes data from the PANGO designation GitHub: https://github.com/cov-lineages/lineages-website/blob/master/_data/lineage_data.full.json?raw=true. Compared to fetch_pango_summary_tbl, this function pulls the entire set of summary information available from PANGO JSON file. To provide the full lineage name, the *Description* column is searched for alias information based upon the regular expression passed to the pattern parameter. If this parameter is set to NULL, the alias search will be ignored and the full_name column will be excluded.

Usage

fetch_pango_full_tbl(
  url =
    "https://github.com/cov-lineages/lineages-website/blob/master/_data/lineage_data.full.json?raw=true",
  pattern = "^([Aa]lias of)\\s?([A-Z\\.\\d]*)[,]?\\s?.*$",
  description_col = "Description"
)

Arguments

url

Character value defining the location of the JSON file containing the complete summary details from PANGOLIN.

pattern

Regular expression to search description column for alias details.

description_col

Name of the description column (default: 'Description').

Examples

if (FALSE) {
fetch_pango_full_tbl()
fetch_pango_full_tbl(pattern = NULL)
}