Skip to contents

Pulls the lineage notes data from the PANGO designation GitHub: https://raw.githubusercontent.com/cov-lineages/pango-designation. 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_notes(
  url =
    "https://raw.githubusercontent.com/cov-lineages/pango-designation/master/lineage_notes.txt",
  pattern = "^([Aa]lias of)\\s?([A-Z\\.\\d]*)[,]?\\s?.*$",
  description_col = "Description"
)

Arguments

url

Character value defining the location of the lineage notes 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_notes()
fetch_pango_notes(pattern = NULL)
}