get_bill_text: Get bill full text

Description Usage Arguments Value See Also

View source: R/get_bill_text.R

Description

This is the API wrapper function for the getBillText operation. It returns a copy of base64 encoded bill text document, along with other information such as document date, type, MIME type etc.

Usage

1
get_bill_text(doc_id, api_key = legiscan_api_key())

Arguments

doc_id

Identifier for bill text document

api_key

Your LegiScan API key (see legiscan_api_key)

Value

A list, with doc_id as the unique identifier.

See Also

legiscan_api_key, LegiScan API manual. For decoding the base64 encoded document, see decode_bill_text and the related vignette.


fanghuiz/legiscanrr documentation built on Jan. 13, 2020, 4:51 a.m.