{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"31-A-0101\" sorted by inspection_date descending", "rows": [["1735dff5bf4ac3a8", "31-A-0101", "2021-10-27", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8Kio&d=%2Fa%2F3d000000pnC9%2F8UShRmeY6qKvKfaKJlA.AIAJyEYEv3m.LrDRBGQFquE&asPdf=false", null], ["e4e23cd6566cce8b", "31-A-0101", "2021-10-05", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8DHn&d=%2Fa%2F3d000000pXUr%2F5rurTkvFWeqDH7ed70Rn5mHnKymjPLlDF4fK539Jito&asPdf=false", null], ["13bfc2dd807781ab", "31-A-0101", "2019-06-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghGm&d=%2Fa%2F3d000000pbjV%2Fq1uTo5kYmxvgifFKOpn_0iih1.ECvGGuDnPMEeGjyZA&asPdf=false", null], ["e87e9a2eff039471", "31-A-0101", "2018-06-18", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egk9v&d=%2Fa%2F3d000000pp1d%2FcCFiK1QB29Uhsau_30HUsFIkm1KmxgnRgXNS_x8K0UY&asPdf=false", null], ["8aa0894917987788", "31-A-0101", "2017-01-19", null, 0, 0, 0, 2, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egivm&d=%2Fa%2F3d000000plry%2FblyEBsgO5KBqmEToXpAhqpHREzWdrR6nkbLwNpCSU10&asPdf=false", null], ["613ffb95867ed120", "31-A-0101", "2016-01-14", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYN1&d=%2Fa%2F3d000000pbiR%2FFitLEo4ROeym9vr_CUwj.PRqzu8651qS180b5EOEE_Y&asPdf=false", null], ["a56d8422624f5f8b", "31-A-0101", "2015-11-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaZS&d=%2Fa%2F3d000000pjfZ%2FD8yUAj0BTc2aml16f_rVSSX_YjlbpmKQfs7dDkgNIOs&asPdf=false", null], ["00b5312b9d7f5162", "31-A-0101", "2015-10-21", null, 0, 0, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWIO&d=%2Fa%2F3d000000pdes%2Fg5rLj0NRDjwyma74rXRAxvOPpOFigvSm0Zt59tY_f1E&asPdf=false", null], ["4ed6a3d040f2c817", "31-A-0101", "2015-10-01", null, 0, 4, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwnP&d=%2Fa%2F3d000000pf2j%2FXAdvsvsTFyEzP2H5PrGEYsYdDO5B6b6PcEQ6.HNiRhM&asPdf=false", null], ["be59eb8c110a1e4d", "31-A-0101", "2014-11-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egj7m&d=%2Fa%2F3d000000pRJA%2FPrX6Wi11xxiJOtxFwd917Ym5cYc7_8Gb8XQi54buMw8&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 10, "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": "31-A-0101"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=31-A-0101", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-A-0101&_facet=noncritical_count"}, {"name": "direct_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-A-0101&_facet=direct_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-A-0101&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-A-0101&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 352.31988097075373, "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"}