Puerto Rico Code

v0.2.1
io.github.pipeworx-io/puerto-rico-code Checked 4 days ago Published 1 month ago

Puerto Rico statutes — 'leyes' (acts) of the Puerto Rico Legislature, section/article lookup and…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pr_statute

Get the text of a Puerto Rico "ley" (act) by citation — accepts an LPRA citation like "33 LPRA 5001" (33 L.P.R.A. § 5001, the Penal Code's murder-related provisions title) or "31 LPRA 5311" (the Civil Code), OR a direct act number like "146-2012" (optionally with an article, e.g. "146-2012 Art. 92"). LPRA citations resolve ONLY for the LPRA títulos this pack has verified map to one specific act by reading that act's own text (currently Título 31, Código Civil de Puerto Rico de 2020; and Título 33, Código Penal de Puerto Rico de 2012) — most of LPRA's ~35 títulos aggregate many acts…

ParameterTypeDescription
citation *stringAn LPRA citation ("33 LPRA 5001", "31 L.P.R.A. § 5311"), or an act number alone or with an article ("146-2012", "146-2012 Art. 92", "Ley 55-2020 Artículo 1").