check_labels_table: Check if the 'labels_table' is valid

View source: R/check_labels_table.R

check_labels_tableR Documentation

Check if the labels_table is valid

Description

Check if the labels_table is valid Will stop if not.

Usage

check_labels_table(labels_table)

Arguments

labels_table

a table containing super- and -population labels, as can be read by read_labels_file. Note that GCAE does not use column names, gcaer adds these for convenience

Details

A labels_table is a tibble with two columns and zero, one or more rows. The columns are named population and super_population and expresses which population (e.g. 'The Netherlands') is part of which superpopulation (e.g. 'Europe'). There are as much rows as there are populations.

Value

Nothing. Will stop if labels_table is invalid.

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.