50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

gwasrapidd (version 0.99.17)

countries_tbl: Creates a countries table.

Description

Creates a countries table. This function is used internally to create both the countries_of_origin and countries_of_recruitment slots of a studies object.

Usage

countries_tbl(
  study_id = character(),
  ancestry_id = integer(),
  country_name = character(),
  major_area = character(),
  region = character()
)

Value

A tibble whose columns are the named arguments to the function.

Arguments

study_id

GWAS Catalog study accession identifier.

ancestry_id

Ancestry identifier.

country_name

Country name, according to The United Nations M49 Standard of Geographic Regions.

major_area

Region name, according to The United Nations M49 Standard of Geographic Regions.

region

Sub-region name, according to The United Nations M49 Standard of Geographic Regions.