{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"71-B-0123\" sorted by inspection_date descending", "rows": [["750e7467ec257414", "71-B-0123", "2022-09-08", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000aw8g0&d=%2Fa%2F3d000000pZ4e%2FjNd6peZ4jcaoF8fxLizmvqewGU.MQCQwMorhCy6fhgI&asPdf=false", null], ["5a166ed93c56acc9", "71-B-0123", "2021-09-30", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PNR9z&d=%2Fa%2F3d000000pZ4d%2FwarNESPfl2ZYIMgHSc.byMAgWsnSTsrxhNb52Re9Zxo&asPdf=false", null], ["b18a74ef3121d4f3", "71-B-0123", "2020-08-11", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjtM&d=%2Fa%2F3d000000pZ3t%2FXKlDY9oiSY9TQaC5Bhmjaq5neSGBZ_2Za59t0Cmc4aA&asPdf=false", null], ["3fc7b9c7ad114721", "71-B-0123", "2019-05-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkOK&d=%2Fa%2F3d000000pZ3k%2FSnrk918vilBQJx02PKTJAnac9iVtcuLgcQzFwg5V1s4&asPdf=false", null], ["da0df12081001a48", "71-B-0123", "2018-05-17", null, 0, 0, 0, 3, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egfkd&d=%2Fa%2F3d000000pZ46%2FhW4C5n8gI0HpujsB5VRjPIHt7hDGPbhpSxi1bwng32s&asPdf=false", null], ["048e75f6d6e57aef", "71-B-0123", "2017-11-08", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgYCt&d=%2Fa%2F3d000000pZ3d%2FYz3Yh0noEWPB032Ah4MeDh1jmqgq2mGGcIqyw_CNOaM&asPdf=false", null], ["d05e030435cb3ac8", "71-B-0123", "2015-08-13", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EghFP&d=%2Fa%2F3d000000pZ4C%2F8rFxlWHyUSWa78LhQ4qzXEEbHxvZhYUP6MmKui4blKc&asPdf=false", null], ["dd8a543527df4648", "71-B-0123", "2015-07-09", null, 0, 3, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnxAM&d=%2Fa%2F3d000000pZ4K%2FCeosY3QvubZRoS6SZOYumnadKtnUJb80zTEqwsL023U&asPdf=false", null], ["485a93376765460e", "71-B-0123", "2015-03-26", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egk45&d=%2Fa%2F3d000000pZ4S%2FEabW8_53Euw9Piod9qsoyh95uPlvyAmcvtMElmwh_34&asPdf=false", null], ["5da24ff45725aac1", "71-B-0123", "2015-02-12", null, 0, 4, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnwK6&d=%2Fa%2F3d000000pZ4Y%2FIzayf9SFcu2L9bubm2AgSgYakHgjnNrdnC30e9UKjMg&asPdf=false", null], ["3995ea2f8f15b16c", "71-B-0123", "2014-04-10", null, 0, 3, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnxSi&d=%2Fa%2F3d000000pZ41%2FDfQRIljzuTArlu9sM9YP2WNRMD3bTZIB7bKLkibeyiU&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 11, "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": "71-B-0123"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=71-B-0123", "results": [], "truncated": false}}, "suggested_facets": [{"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=71-B-0123&_facet=noncritical_count"}, {"name": "direct_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=71-B-0123&_facet=direct_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=71-B-0123&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=71-B-0123&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 511.67076599085703, "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"}