{"database": "aphis", "table": "inspections", "is_view": false, "human_description_en": "where cert_number = \"31-B-0174\" sorted by inspection_date descending", "rows": [["3790f00a3bb788b9", "31-B-0174", "2021-12-21", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000V8uXG&d=%2Fa%2F3d000000phGA%2F2qTi21wEyJg5MdY0oOkmgMCRnnIsPqqvRrAB9kZuVtk&asPdf=false", null], ["c1e7fc1eea93871a", "31-B-0174", "2021-12-14", null, 1, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000YwRzz&d=%2Fa%2F3d000000phFp%2FLyAHnE96l6Ti5Flp_INIb3x8cpDRh2vYHsfHg3yMeXo&asPdf=false", null], ["f70ca882f8dde4bc", "31-B-0174", "2021-07-07", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000PMUAt&d=%2Fa%2F3d000000podf%2FtorZzWjRz6HPD8KCuN6tTcVwIjSvHJAj8Co2oJRtoTo&asPdf=false", null], ["44e308ca29990a09", "31-B-0174", "2021-05-12", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Nh5c7&d=%2Fa%2F3d000000pf0R%2F5BLWt8aHj2pHo4.2nfoliO8YIibo93Vq6iv4VmMOOzM&asPdf=false", null], ["5fdbcda17d3238d2", "31-B-0174", "2021-05-05", null, 0, 3, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Nh2bs&d=%2Fa%2F3d000000pSXw%2Ff28qBtPp5fOCv6pF_sx6JD35ilJZ2YdxR5.M7JV2Ytg&asPdf=false", null], ["cbf373ddd2112586", "31-B-0174", "2021-04-28", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Ngxyg&d=%2Fa%2F3d000000pWNJ%2FJvJRlCQpD3xR68rif1pk32wJ_tDJLR4LzzxZfqJNSh4&asPdf=false", null], ["3bf8fa4077dd9710", "31-B-0174", "2020-01-06", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgWrc&d=%2Fa%2F3d000000pUTO%2FQXlLjP8gqnv.oo6LAyyNgKNw089.zw2IdoCS4VHGTeY&asPdf=false", null], ["8a89d46c278e9702", "31-B-0174", "2019-04-10", null, 0, 1, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgXXI&d=%2Fa%2F3d000000pUBX%2F0H91HaEmlanl4Jt7eahzT1W1NTnx3SVZASbuYzpSGmg&asPdf=false", null], ["bb2c2cd8af1284e5", "31-B-0174", "2019-04-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiEe&d=%2Fa%2F3d000000pSxj%2FE2m2x292AFyBBlQA9D7pEOVkAryw7JTOmw5QtKhb6qE&asPdf=false", null], ["ae4068e1e919463b", "31-B-0174", "2019-03-19", null, 0, 0, 0, 1, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgkUw&d=%2Fa%2F3d000000pSJj%2Fqb.thgeEdvDxdbm_M8AuH9VjvmSmr1bScUMau5GghAw&asPdf=false", null], ["bea2bb76eb122708", "31-B-0174", "2018-07-16", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egklg&d=%2Fa%2F3d000000pdiD%2F6dhzVT5ELibSuEVps1mtrDONZq6Ryw73T9uXW0M0cJQ&asPdf=false", null], ["f09149637203a982", "31-B-0174", "2018-07-06", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiRx&d=%2Fa%2F3d000000pbh1%2F836_62CACMShFEq3CyC470kM0kiQVbFiM7wJuoBQK6Y&asPdf=false", null], ["fc9e528328c46194", "31-B-0174", "2018-07-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiL7&d=%2Fa%2F3d000000pTLd%2FKsb0GkzSS0elAohcF5MTNpWy5AQfCGDxlP1W2k0cVQk&asPdf=false", null], ["ce2cffaadb39dadc", "31-B-0174", "2018-04-18", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgdJP&d=%2Fa%2F3d000000pUCw%2FszyKsegPCcA7WloT6C64GLjHUjmAq2cHFj0AwzbnWeo&asPdf=false", null], ["5ce8076b12866608", "31-B-0174", "2017-12-04", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgfuX&d=%2Fa%2F3d000000pbD6%2F64duo6a8Fg246b9yMop8I5jouZ5_56fPpXoZZm_bvOo&asPdf=false", null], ["50c8666f051c3721", "31-B-0174", "2017-10-25", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgiiG&d=%2Fa%2F3d000000pk4V%2F8i9Q39MOCExqXjcgPzTcLU0jjNT.EX18H53TcJRiECc&asPdf=false", null], ["e45b0955cd921628", "31-B-0174", "2017-05-26", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgjLG&d=%2Fa%2F3d000000pmWy%2FBV5LV9mMh36ijLZ_9NcycL.wUV5YwyL8n2V3wFovW48&asPdf=false", null], ["ecd912f9a57bcb91", "31-B-0174", "2017-04-20", null, 0, 2, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgVzU&d=%2Fa%2F3d000000pduc%2FiAWN5_TAjH6W1jaJPTnMCN5c83kP7fXy_aOcB4Cq1aw&asPdf=false", null], ["dbfb3757abeabcb1", "31-B-0174", "2016-11-09", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egfc0&d=%2Fa%2F3d000000pdxT%2Fhruzs1vwCYTRSJTjnAYo_xelYC3LVRXV1cLvhTpDa4Q&asPdf=false", null], ["0077b2f16278949f", "31-B-0174", "2016-10-03", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Eghlg&d=%2Fa%2F3d000000pSCI%2F8TvJOQmLosCYHoTIoQqGA6kac6pllixXLcvDJ8LVHJ4&asPdf=false", null], ["a94ad49a0968c31a", "31-B-0174", "2016-07-28", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaeF&d=%2Fa%2F3d000000pnpQ%2FlocEC2c6P.SdOmpZj7Q40g_hZJWHper1d39H.oA6xks&asPdf=false", null], ["9c7edcf072912be2", "31-B-0174", "2016-07-19", null, 0, 2, 1, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000DnxJR&d=%2Fa%2F3d000000pTAG%2FmOhtfYkGxNngql3SfplUY8wy9RW70jY_yld_ViacqRc&asPdf=false", null], ["efbdfebd9ccdaa3c", "31-B-0174", "2016-03-24", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000Egiv4&d=%2Fa%2F3d000000pkhn%2FbwgLfdT8GEEP809WLnWL1hNucJ7xrbSE8R24ureQvsM&asPdf=false", null], ["5fea650efd0c195d", "31-B-0174", "2015-12-17", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgmZk&d=%2Fa%2F3d000000pb4L%2Fi4C2yX.gRxaZ4cw_dk8Dah6BWrRok7YV0dKfuUqL4VU&asPdf=false", null], ["b0c4b6f28fdb5148", "31-B-0174", "2015-10-29", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgeoT&d=%2Fa%2F3d000000pahD%2F9UIOPvCbYbkk.nDwjVZSxo1.MxW0d4VZcFRicP4.xI0&asPdf=false", null], ["ddb42469bd978c4a", "31-B-0174", "2015-03-05", null, 0, 0, 0, 0, "https://aphis.file.force.com/sfc/dist/version/download/?oid=00Dt0000000GyZH&ids=068t000000EgaXy&d=%2Fa%2F3d000000pSOX%2Fe5oUps28T6d1.3vo7zVrQrNTkIsiDvvQ031eDnpyDqU&asPdf=false", null]], "truncated": false, "filtered_table_rows_count": 26, "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-B-0174"}}, "facet_results": {"inspection_type": {"name": "inspection_type", "type": "column", "hideable": false, "toggle_url": "/aphis/inspections.json?cert_number=31-B-0174", "results": [], "truncated": false}}, "suggested_facets": [{"name": "critical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0174&_facet=critical_count"}, {"name": "noncritical_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0174&_facet=noncritical_count"}, {"name": "direct_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0174&_facet=direct_count"}, {"name": "teachable_moment_count", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0174&_facet=teachable_moment_count"}, {"name": "inspection_date", "type": "date", "toggle_url": "https://www.pawtectors.org/aphis/inspections.json?cert_number=31-B-0174&_facet_date=inspection_date"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 5.587810999713838, "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"}