{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"16-R-0040\" sorted by inspection_date descending", "rows": [["005f114a65f3b6e8", "16-R-0040", "2022-10-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000awpMp&d=%2Fa%2F3d000000pW3j%2F79r9abNFf9pbAFmh8JgYKX0Wm.gQEzMjxBQFGNn0pbo&asPdf=false", null], ["3b77172dcf4588e2", "16-R-0040", "2022-02-23", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V9OhR&d=%2Fa%2F3d000000pW1R%2FQBSN.s67lvBRM7IInTtsxh4B07MOJ6SHVbB2tKVd1_A&asPdf=false", null], ["69cd2f658650925e", "16-R-0040", "2020-12-02", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000FyQR6&d=%2Fa%2F3d000000pW1i%2FBgwHECPF_4hFe8SXPFf91CB4gMEQ5nlqzHDbPZbQoPY&asPdf=false", null], ["6943a97a4ae96290", "16-R-0040", "2019-11-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZSm&d=%2Fa%2F3d000000pW2f%2F4caekeBSKsp75.8OaMIOUQlApHTCygybHR36vaaXJws&asPdf=false", null], ["2b2fc80cc9ae77d0", "16-R-0040", "2019-02-19", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaM9&d=%2Fa%2F3d000000pW3i%2F30MEcfGQ9U4XkKolUmNr4z9Z9SAqXfyYTU2YmQZF2Lk&asPdf=false", null], ["bf9281f86058c7b0", "16-R-0040", "2018-04-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZrX&d=%2Fa%2F3d000000pW47%2FHkLj0Z.cD7FCS2HoJlj5hXfI_Lymk_dtauVVVSdSKM4&asPdf=false", null], ["731d1d29f12f36ff", "16-R-0040", "2017-11-20", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZUE&d=%2Fa%2F3d000000pW2o%2Fy0in3jFg7gwJtQ5RnYaP9fUEQKSZgCv7Zc5KgUHR92w&asPdf=false", null], ["c32066ec355890d6", "16-R-0040", "2017-10-03", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgVlo&d=%2Fa%2F3d000000pW3t%2FJ9E0XlxHoHHYogNAkboAGGE0N1pSGQMMZanT_0uyze4&asPdf=false", null], ["694722a77e102a4d", "16-R-0040", "2017-02-15", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgZF6&d=%2Fa%2F3d000000pW2U%2FTNyXVsa9.X3ZkwqjzEBYg2jf4XBuAlbkfbgO_74wEsA&asPdf=false", null], ["b99ed7bc2b987c29", "16-R-0040", "2016-11-16", null, 0, 3, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnxQo&d=%2Fa%2F3d000000pW1f%2FKvA1q4wBVJtFy0oVFZNddRl9ydGelzJxeRw71Xytuu0&asPdf=false", null], ["d9164302b1b54863", "16-R-0040", "2016-03-30", null, 0, 4, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Dnwgr&d=%2Fa%2F3d000000pW3g%2Fe5LXIt4nbqRbI9bFlPRys0x84ZCJBakOKFMVIMVFJaQ&asPdf=false", null], ["72918e204b196eca", "16-R-0040", "2014-12-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egbjs&d=%2Fa%2F3d000000pW2c%2FKf5BZ_6xWLpfCt1iZFKMwEK35NEWTsZdACYGOCHWav4&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": "16-R-0040"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=16-R-0040", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=16-R-0040&_facet=noncritical_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://regs.datadawn.org/aphis/inspections.json?cert_number=16-R-0040&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 5.490773000019544, "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"}