{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"42-A-1540\" sorted by inspection_date descending", "rows": [["e3eb714afe8293a1", "42-A-1540", "2022-03-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9Ugj&d=%2Fa%2F3d000000ph9F%2FmA2MFIeScPiG.v9AL4.jSsI3d4wHzOZ4uMLplpgGiv0&asPdf=false", null], ["308e18df96d7cc60", "42-A-1540", "2019-09-04", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghK9&d=%2Fa%2F3d000000pUGq%2FescfJ9MP6fXiMyLgETvv_.8RuBOIJGOMnMYSNM8q0Wg&asPdf=false", null], ["dc7146597c88d310", "42-A-1540", "2018-10-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjxY&d=%2Fa%2F3d000000pjmp%2Fl1ws4jHWprEyIzhnbzZZG3JHzwFjlxIAxqYUYEfrBc8&asPdf=false", null], ["8afa6c3043dc690d", "42-A-1540", "2018-09-13", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egik9&d=%2Fa%2F3d000000pogg%2FG_RTBvaG.oVjFOEJGBu4onxxDouZCwOOac3AuB1587I&asPdf=false", null], ["579a2dbce95044b3", "42-A-1540", "2018-01-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghTC&d=%2Fa%2F3d000000pp4I%2FzXdDdmfh4MmApls7ZS1bA7AhV5MoI7EQEED37k_gkZQ&asPdf=false", null], ["f0b8a5c04b4dc35d", "42-A-1540", "2017-01-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eghlj&d=%2Fa%2F3d000000pfmQ%2FDHVJNTBVUi1ERNClylaEy_QXT0o1qbkgBirmrPBkKcE&asPdf=false", null], ["1884fe0c25f5b58a", "42-A-1540", "2016-07-11", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaNC&d=%2Fa%2F3d000000pStB%2Fnsmk3CGu1en6WxXsPFMSaoIIODcsK1pLgxP9d_Ch410&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 7, "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": "42-A-1540"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=42-A-1540", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=42-A-1540&_facet=noncritical_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=42-A-1540&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=42-A-1540&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 727.3128579836339, "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"}