{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"46-A-0233\" sorted by inspection_date descending", "rows": [["9c90198c0fb9a408", "46-A-0233", "2022-12-27", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d000008CxRm&d=%2Fa%2F3d0000018Uvz%2Fd4NYoXEjBaRaMXFTvVyNJH75AIHNY9owERsT8BHa.0k&asPdf=false", null], ["b8cb856e51fb6bb5", "46-A-0233", "2022-10-05", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000gvNmo&d=%2Fa%2F3d000000pVaK%2FXG6NJSGJwLbDPCsNvc5ISG4M6jdVQ7VkaJ3MY56ywWg&asPdf=false", null], ["0d3473f945454365", "46-A-0233", "2022-08-23", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yy7Mq&d=%2Fa%2F3d000000pVa9%2Fbe_oJH27IDMryEs_b5QFIXLsdy.NzpMCn0dMDDBttUY&asPdf=false", null], ["b4045ba4dc87668d", "46-A-0233", "2022-05-26", null, 0, 8, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Yx6TT&d=%2Fa%2F3d000000pVZg%2FoCrbkGLc6w9iwPm93W7FUkuV27UOb4y1Mrk_y3Oa50U&asPdf=false", null], ["496f55a7900da739", "46-A-0233", "2021-12-02", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8mmD&d=%2Fa%2F3d000000pVZW%2F1rlT1DWocLzz.eYMSHqZaDZaiD1p9EunCqKhtCBgB3Y&asPdf=false", null], ["5ff527c2467ce2c5", "46-A-0233", "2021-09-08", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8XcO&d=%2Fa%2F3d000000pVZk%2FVrTJjtnGM9Rq0LbR4ZGdsUQBAUNW4Q4ZQzym_maVcZQ&asPdf=false", null], ["0aa52eeaf53c5bf8", "46-A-0233", "2021-06-16", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000NhRIf&d=%2Fa%2F3d000000pVac%2FDXlprtLpUZdCYWFNf.a15TT6wyt_ZP7kXUjpFHJYUIs&asPdf=false", null], ["1cee5d958aa5abd5", "46-A-0233", "2021-03-25", null, 0, 3, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000NgzHs&d=%2Fa%2F3d000000pVa6%2FuL.jlkwDgZO_9UbwJl5hnibts79ZwkTbxcIqbX3N3ek&asPdf=false", null], ["68cc1f0575f235ab", "46-A-0233", "2020-08-27", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egbf9&d=%2Fa%2F3d000000pVa7%2F4XX.vVwpsDeQ2jM6UUHPQZomumCdCWuCnlsAGIMdkCk&asPdf=false", null], ["2d104ab9272c420e", "46-A-0233", "2020-07-22", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgcP9&d=%2Fa%2F3d000000pVap%2FFSvbMPf5tt.4MeWQBArwQi5KNTnGnFr6iVrdzopLLx4&asPdf=false", null], ["6051f65f5af0ddc4", "46-A-0233", "2020-03-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghCi&d=%2Fa%2F3d000000pVaO%2FOjbtuS8zdy_1MaP2PLSNxAYof.38JZWf9jdQ8jq.CvY&asPdf=false", null], ["aa33fab8463be496", "46-A-0233", "2019-12-04", null, 0, 4, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Dnwme&d=%2Fa%2F3d000000pVax%2FZAzw9DsFItJjncZXoOUT0a5cp2WzS3032MpAhafbv6A&asPdf=false", null], ["c3d0aed8daacdcbe", "46-A-0233", "2019-08-21", null, 0, 3, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwxJ&d=%2Fa%2F3d000000pVZr%2FyS39FADdhE_KNNqGVkAfg1.wMRjL_KhCqqYZYndo1s8&asPdf=false", null], ["92af81817bef7fbc", "46-A-0233", "2019-04-22", null, 0, 3, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnxHW&d=%2Fa%2F3d000000pVb0%2FNsv_ff1XVYZ.ncUKm8zBTOT99ngFpxJ3Mf.1jxmASeM&asPdf=false", null], ["46086d28acde71f5", "46-A-0233", "2018-05-08", null, 0, 5, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Dnww0&d=%2Fa%2F3d000000pVaw%2FKKaveoHv7wvoKSUsmY339N5laZz8IN2QtcQTjNxVCQk&asPdf=false", null], ["0858863000544501", "46-A-0233", "2017-05-11", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egjh4&d=%2Fa%2F3d000000pVaY%2Fi1jiaF8bNOHV9L.fUvGfcuE3V04.zr4_7mhW7GWZ.v8&asPdf=false", null], ["9477444b897e4f71", "46-A-0233", "2017-02-06", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgacE&d=%2Fa%2F3d000000pVZd%2F4ZMLaRTRRLnkSjjl7iEG5uZIxC4FEZ83j6gvcVC4luc&asPdf=false", null], ["9c935dde1b1926d6", "46-A-0233", "2015-06-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkEC&d=%2Fa%2F3d000000pVa0%2FN3AVTqRozRRlOqEzcBh3iHGNS6k3y3efxY6IO.xYv44&asPdf=false", null], ["208b353f35ee3204", "46-A-0233", "2014-10-29", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkrX&d=%2Fa%2F3d000000pVaQ%2FSyEvSkyRxvEdQtwQn0nXITxyMJVgzyROOtcUuwtdvqY&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 19, "expanded_columns": [], "expandable_columns": [[{"column": "cert_number", "other_table": "facilities", "other_column": "cert_number"}, "legal_name"]], "columns": ["id", "cert_number", "inspection_date", "inspection_type", "critical_count", "noncritical_count", "direct_count", "teachable_moment_count", "pdf_url", "pdf_local_path"], "primary_keys": ["id"], "units": {}, "query": {"sql": "select id, cert_number, inspection_date, inspection_type, critical_count, noncritical_count, direct_count, teachable_moment_count, pdf_url, pdf_local_path from inspections where \"cert_number\" = :p0 order by inspection_date desc limit 101", "params": {"p0": "46-A-0233"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=46-A-0233", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=46-A-0233&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=46-A-0233&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=46-A-0233&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 1346.5251360321417, "source": "Federal Register API & Regulations.gov API", "source_url": "https://www.federalregister.gov/developers/api/v1", "license": "Public Domain (U.S. Government data)", "license_url": "https://www.regulations.gov/faq"}