Skip to contents

Internal function that checks whether the given source argument matches one of the supported Eurostat or UK table identifiers.

Usage

validate_source(source)

Arguments

source

A character string naming the desired source table.

Value

Invisibly returns the validated source string, otherwise throws an error if the source is not supported.