Return raw search results from legiscan's database
legiSearchRaw.RdReturn search results from legiscan's full text engine with simplified details, 2000 results at a time. Returns relevance, bill_id, and change_hash only, appropriate for automated keyword monitoring. Check legiscan.com for specific search syntax for more details.
Usage
legiSearchRaw(
query = NULL,
state = "ALL",
year = 2,
sessionID = NULL,
page = 1,
maxPages = 10,
legiKey = NULL
)Arguments
- query
Enter your search text. Your query may use grammatically correct spacing. Use legiscan's search syntax for more powerful results.
- state
Search the entire nation by default with 'ALL' or specify state using letter abbreviations
- year
Should be an integer. 1=All, 2=Current, 3=Recent, 4=Prior, >1900=Exact Year
- sessionID
Limit search to specific session with a session_id
- page
Default is set to return Page 1. `legiSearchRaw` will paginate and include results.
- maxPages
Maximum number of pages to fetch. Each page is one API query against your monthly quota. Use `Inf` to fetch every page.
- legiKey
32 character string provided by legiscan