Learn R Programming

EGRET (version 3.0.2)

formatCheckParameterCd: formatCheckParameterCd

Description

This function was never incorporated into the EGRET workflow and will be removed in future versions. A similar check exists within the dataRetrieval functions. Checks that the parameter code is 5 digits. If it is less, it will pad the character with zeros. If more, ask the user to re-enter.

Usage

formatCheckParameterCd(parameterCd, interactive = TRUE)

Arguments

parameterCd

character to check

interactive

logical Option for interactive mode. If true, there is user interaction for error handling and data checks.

Value

parameterCd character