checkState-helper: State validation

Description Usage Arguments Value Examples

Description

Checks for valid values of state parameter for legiscan methods

Usage

1

Arguments

x

The state value passed from the legiscan function

Value

Returns a valid state object for inclusion in the URL specification

Examples

1
2
3
4
## Not run: 
state <- checkState(state)

## End(Not run)

wbuchanan/legiscanR documentation built on May 4, 2019, 2:01 a.m.