check_iData {COINr}R Documentation

Check iData

Description

Checks the format of iData input to new_coin(). This check must be passed to successfully build a new coin.

Usage

check_iData(iData, quietly = FALSE)

Arguments

iData

A data frame of indicator data.

quietly

Set TRUE to suppress message if input is valid.

Details

The restrictions on iData are not extensive. It should be a data frame with only one required column uCode which gives the code assigned to each unit (alphanumeric, not starting with a number). All other columns are defined by corresponding entries in iMeta, with the following special exceptions:

No column names should contain blank spaces.

Value

Message if everything ok, else error messages.

Examples

check_iData(ASEM_iData)


[Package COINr version 1.1.7 Index]