{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"43-A-5678\" sorted by inspection_date descending", "rows": [["804506a31ec6fcce", "43-A-5678", "2024-10-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068SJ00000E3NzM&d=%2Fa%2FSJ0000015CO9%2FkYAWMhO.79IuUNnAkY2XjXPPkpPy.TOLJ6C.7UAlX7Y&asPdf=false", null], ["968bc9e8f626ba71", "43-A-5678", "2023-10-27", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=0683d00000AnlXR&d=%2Fa%2F3d0000026qmo%2Fc0ed.LW1uaehTIDfm.heCClab3XIHnKEm2xo5KrsNIU&asPdf=false", null], ["a353523cb587d4d3", "43-A-5678", "2022-10-31", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000gv3VV&d=%2Fa%2F3d000000pYhx%2FNmarckkvy5Zd9Fo.KBRmDhJZYeumjsZkzNa4FuW93GI&asPdf=false", null], ["d97c5edd34374c88", "43-A-5678", "2022-10-11", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awgLt&d=%2Fa%2F3d000000pWL6%2FR5_PltOEfolK7e8PID4bo2o2kRF9yR0u9ok3mDPh0fs&asPdf=false", null], ["acd186ac13aad406", "43-A-5678", "2021-09-27", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNLuc&d=%2Fa%2F3d000000pWLT%2FhWKc.u8JkJjUo8vw0727jpuJm6F3sQOWRKN6KZf6iY8&asPdf=false", null], ["3041aa51aa2b572f", "43-A-5678", "2020-11-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyPTH&d=%2Fa%2F3d000000pWKz%2F6r5yboGC9qm06Tz8oHO3kzrGGA5pV_gTVbtGqVzUTJM&asPdf=false", null], ["759cb67da314b160", "43-A-5678", "2019-11-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglKU&d=%2Fa%2F3d000000pWLL%2F5nbLYXFpjsxAk.0XzeM.NfngsMPkIM98OJ9.7fAm7Co&asPdf=false", null], ["7c0a2c172e850f5c", "43-A-5678", "2018-10-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmMq&d=%2Fa%2F3d000000pWLb%2FcrR9K.dUaSEQS060CfrHI6z0sbUuo_T7bGh00wuUon0&asPdf=false", null], ["b1ec1bafb0809b4d", "43-A-5678", "2017-11-22", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglCa&d=%2Fa%2F3d000000pWKw%2F1d794cWs_DnO_ZzdOdu59kJ6FuZZWiswCvrdyDrGrq8&asPdf=false", null], ["e1cf446a579170fc", "43-A-5678", "2016-10-31", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglRl&d=%2Fa%2F3d000000pWLF%2Fs3lPr_HoWpIpHR50uCX6rbzjd_HRN99F6dDpVWhKg78&asPdf=false", null], ["a4a48f17c25c1090", "43-A-5678", "2015-09-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eglr3&d=%2Fa%2F3d000000pWLy%2FMmMh2bwDF2py6ogBKyLxvEJRVLTrs8N9iNbKWKr5KUM&asPdf=false", null], ["d2b09a7abdde92a2", "43-A-5678", "2014-10-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EglEK&d=%2Fa%2F3d000000pWKr%2FSHsVhpg242pp.BVWkq92MZCU8_4jhy7gPKxhW22KBq0&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 12, "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": "43-A-5678"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=43-A-5678", "results": [], "truncated": false}}, "suggested_facets": [{"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=43-A-5678&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 319.4644199684262, "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"}