Closed liaosvcaf closed 5 years ago
https://openstates.org/ca/bills/ also offers full text search. We can use python or other language to search for key words.
@liaosvcaf
Comparing openstates.org and leginfo.legislature.ca.gov the last seems best
openstates.org is slower than leginfo.legislature.ca.gov When I search "Education" on Openstate I get 373 bills, on leginfo.legislature.ca.gov I get 755
But OpenState views search results better (there is subject and latest action). On leginfo.legislature.ca.gov we get only bills identifier
https://openstates.org/ca/bills/?query=education&session=&classification=&sponsor=&page=1
Fetching all laws from search results might take a lot of time. But we can fetch only first few pages and fetch other only if user goes to next page. Or we can make a database and update
I think you have the freedom to choose a solution you feel comfortable with, as long as you reach the project goal.
Thanks.
On Tue, Jun 25, 2019, 9:37 AM taivy notifications@github.com wrote:
@liaosvcaf https://github.com/liaosvcaf
Comparing openstates.org and leginfo.legislature.ca.gov the last seems best
openstates.org is slower than leginfo.legislature.ca.gov When I search "Education" on Openstate I get 373 bills, on leginfo.legislature.ca.gov I get 755
But OpenState views search results better (there is subject and latest action). On leginfo.legislature.ca.gov we get only bills identifier
https://openstates.org/ca/bills/?query=education&session=&classification=&sponsor=&page=1
Fetching all laws from search results might take a lot of time. But we can fetch only first few pages and fetch other only if user goes to next page. Or we can make a database and update
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/svcaf/earlyAlertOfLaws/issues/10?email_source=notifications&email_token=AMJFRFOHVCJR3DVS3AH3GALP4JCWHA5CNFSM4H2ZNNMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQ3AWY#issuecomment-505524315, or mute the thread https://github.com/notifications/unsubscribe-auth/AMJFRFNNXEMGMCQFGRZEA5LP4JCWHANCNFSM4H2ZNNMA .
Looks like this this the solution right now.
if open states is too limited. We should try to directly search http://leginfo.legislature.ca.gov/ .
@taivy Please also take a look at this option. Let me know if this is something you are interested in doing. Thanks!