Skip to contents

Return bill text document in base64 encoded format based on a text_id

Usage

getText(textID = NULL, legiKey = NULL)

Arguments

textID

text_id integer value from bill object

legiKey

32 character string provided by legiscan

Value

Bill text document with metadata and base64 encoded document

Examples

getText(textID = 1234567)
#> Warning: Invalid API Key: 
#> Register <https://legiscan.com/user/register>
#> Store with `setlegiKey`
#> [1] "Invalid API Key: \nRegister <https://legiscan.com/user/register>\nStore with `setlegiKey`"