{"ok": true, "database": "lm20", "private": false, "path": "/lm20", "size": 11546624, "tables": [{"name": "attachment", "columns": ["rptId", "attachment_id", "filename", "file_description", "file_urls"], "primary_keys": ["attachment_id"], "count": 937, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "contact", "columns": ["city", "ein", "name", "organization", "po_box,_bldg,_room_no,_if_any", "state", "street", "title", "zip_code", "rptId", "contact_type"], "primary_keys": [], "count": 7770, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "employer", "columns": ["rptId", "empLabOrg", "empTrdName", "city", "state", "termDate", "amount"], "primary_keys": [], "count": 13535, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "filer", "columns": ["srNum", "companyName", "companyCity", "companyState", "srFilerId"], "primary_keys": ["srNum"], "count": 787, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "filing", "column": "srNum", "other_column": "srNum"}], "outgoing": []}, "private": false}, {"name": "filing", "columns": ["address1", "address2", "amended", "amendment", "beginDate", "city", "empLabOrg", "endDate", "file_checksum", "file_path", "file_status", "filing_url", "formFiled", "originalRptId", "paperOrElect", "receiveDate", "registerDate", "repOrgsCnt", "rptId", "srFilerId", "srNum", "state", "yrCovered", "zip"], "primary_keys": ["rptId"], "count": 11772, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "attachment", "column": "rptId", "other_column": "rptId"}, {"other_table": "contact", "column": "rptId", "other_column": "rptId"}, {"other_table": "employer", "column": "rptId", "other_column": "rptId"}, {"other_table": "individual_disbursements", "column": "rptId", "other_column": "rptId"}, {"other_table": "lm20", "column": "rptId", "other_column": "rptId"}, {"other_table": "lm21", "column": "rptId", "other_column": "rptId"}, {"other_table": "performer", "column": "rptId", "other_column": "rptId"}, {"other_table": "receipts", "column": "rptId", "other_column": "rptId"}, {"other_table": "signatures", "column": "rptId", "other_column": "rptId"}, {"other_table": "specific_activity", "column": "rptId", "other_column": "rptId"}], "outgoing": [{"other_table": "filer", "column": "srNum", "other_column": "srNum"}]}, "private": false}, {"name": "individual_disbursements", "columns": ["expense", "name", "salary", "total", "rptId", "disbursement_order"], "primary_keys": [], "count": 350, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "lm20", "columns": ["rptId", "amended", "date_fiscal_year_ends", "direct", "indirect", "city", "date_entered_into", "ein", "name", "organization", "po_box,_bldg,_room_no,_if_any", "state", "street", "zip_code", "notes", "written_agreement", "type_of_person"], "primary_keys": [], "count": 3454, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "lm21", "columns": ["rptId", "fees_for_professional_services", "loans_made", "officer_and_administrative_expenses", "other_disbursements", "publicity", "total_disbursements_(sum_of_items_8-13)", "total_disbursements_to_officers_and_employees", "period_begin", "period_through", " Employer Name", " Trade Name, If any", "Amount", "Purpose", "City", "Name", "Organization", "P.O. B, B, Room N, if any", "Street", "Title", "ZIP code", "total_disbursements"], "primary_keys": [], "count": 431, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "performer", "columns": ["rptId", "specific_activity_id", "performer_order", "city", "ein", "file_number", "name", "organization", "po_box,_bldg,_room_no,_if_any", "state", "street", "title", "zip"], "primary_keys": [], "count": 4913, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "specific_activity", "column": "specific_activity_id", "other_column": "id"}, {"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "receipts", "columns": ["rptId", "receipt_number", "amount", "city", "employer", "mailing_address", "name", "non-cash_payment", "po_box,_bldg,_room_no,_if_any", "state", "street", "termination_date", "title", "trade_name", "type_of_payment", "zip_code"], "primary_keys": [], "count": 1305, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "signatures", "columns": ["rptId", "signature_number", "date", "signed", "telephone", "telephone_number", "title"], "primary_keys": [], "count": 7770, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}, {"name": "specific_activity", "columns": ["id", "rptId", "activity_order", "specific_extent_of_performance", "specific_nature_of_activity", "specific_period_of_performance", "specific_subject_employees", "specific_subject_labor_orgs"], "primary_keys": ["id"], "count": 3512, "hidden": false, "fts_table": null, "foreign_keys": {"incoming": [{"other_table": "performer", "column": "id", "other_column": "specific_activity_id"}], "outgoing": [{"other_table": "filing", "column": "rptId", "other_column": "rptId"}]}, "private": false}], "hidden_count": 0, "views": [], "queries": [{"title": "New LM20 Filings", "sql": "with feed as (\n  select distinct\n    rptID,\n    employer.empLabOrg || ' vs ' || specific_subject_labor_orgs as atom_title,\n    filing_url as atom_link,\n    strftime(try_cast(receiveDate as timestamp), '%Y-%m-%dT%H:%M:%SZ') as atom_updated,\n    '<p>' || employer.empLabOrg || ' (' || employer.city || ', ' || employer.state || ') hired ' || coalesce(contact.organization, contact.name) || ' to meet with ' || specific_subject_employees || ' to help convince workers not to organize with ' || specific_subject_labor_orgs || '</p>' as atom_content_html,\n    receiveDate as _sort\n  from\n    filing\n    inner join employer using (rptId)\n    inner join specific_activity using (rptId)\n    inner join contact using (rptId)\n  where\n    contact_type = 'name_and_mailing_address'\n)\nselect\n  rptID as atom_id,\n  atom_title,\n  atom_link,\n  atom_updated,\n  atom_content_html\nfrom feed\nwhere atom_title is not null and atom_content_html is not null\norder by _sort desc", "name": "new_lm20_filings", "private": false}], "allow_execute_sql": true, "table_columns": {"attachment": ["attachment_id", "file_description", "file_urls", "filename", "rptId"], "contact": ["city", "contact_type", "ein", "name", "organization", "po_box,_bldg,_room_no,_if_any", "rptId", "state", "street", "title", "zip_code"], "employer": ["amount", "city", "empLabOrg", "empTrdName", "rptId", "state", "termDate"], "filer": ["companyCity", "companyName", "companyState", "srFilerId", "srNum"], "filing": ["address1", "address2", "amended", "amendment", "beginDate", "city", "empLabOrg", "endDate", "file_checksum", "file_path", "file_status", "filing_url", "formFiled", "originalRptId", "paperOrElect", "receiveDate", "registerDate", "repOrgsCnt", "rptId", "srFilerId", "srNum", "state", "yrCovered", "zip"], "individual_disbursements": ["disbursement_order", "expense", "name", "rptId", "salary", "total"], "lm20": ["amended", "city", "date_entered_into", "date_fiscal_year_ends", "direct", "ein", "indirect", "name", "notes", "organization", "po_box,_bldg,_room_no,_if_any", "rptId", "state", "street", "type_of_person", "written_agreement", "zip_code"], "lm21": [" Employer Name", " Trade Name, If any", "Amount", "City", "Name", "Organization", "P.O. B, B, Room N, if any", "Purpose", "Street", "Title", "ZIP code", "fees_for_professional_services", "loans_made", "officer_and_administrative_expenses", "other_disbursements", "period_begin", "period_through", "publicity", "rptId", "total_disbursements", "total_disbursements_(sum_of_items_8-13)", "total_disbursements_to_officers_and_employees"], "performer": ["city", "ein", "file_number", "name", "organization", "performer_order", "po_box,_bldg,_room_no,_if_any", "rptId", "specific_activity_id", "state", "street", "title", "zip"], "receipts": ["amount", "city", "employer", "mailing_address", "name", "non-cash_payment", "po_box,_bldg,_room_no,_if_any", "receipt_number", "rptId", "state", "street", "termination_date", "title", "trade_name", "type_of_payment", "zip_code"], "signatures": ["date", "rptId", "signature_number", "signed", "telephone", "telephone_number", "title"], "specific_activity": ["activity_order", "id", "rptId", "specific_extent_of_performance", "specific_nature_of_activity", "specific_period_of_performance", "specific_subject_employees", "specific_subject_labor_orgs"]}, "metadata": {"code_repository": "https://github.com/labordata/lm20", "description_html": "<p>Reports filed with the Department of Labor by \"persuaders\" \u2014 labor-relations consultants whom employers hire to dissuade workers from joining or supporting a union. Under <a href=\"https://www.law.cornell.edu/uscode/text/29/433\">Section 203 of the Labor-Management Reporting and Disclosure Act</a>, persuaders must file two forms with the DOL Office of Labor-Management Standards:</p>\n<ul>\n  <li><a href=\"https://www.dol.gov/agencies/olms/sites/dolgov/files/migrated/regs/compliance/forms-instructions/LM-20.pdf\">LM-20 (Agreement and Activities Report)</a> \u2014 within 30 days after entering into an agreement to perform persuader activities. Names the employer that hired them, the agreement terms, the people who will do the work, and the specific activities planned.</li>\n  <li><a href=\"https://www.dol.gov/agencies/olms/sites/dolgov/files/migrated/regs/compliance/forms-instructions/LM-21.pdf\">LM-21 (Receipts and Disbursements Report)</a> \u2014 annually, reporting the persuader's receipts from clients and how the money was spent.</li>\n</ul>\n<p>The data is scraped nightly from the OLMS <a href=\"https://olms.dol-esa.gov/olpdr/\">Online Public Disclosure Room</a>. Filings are organized around a central <a href=\"./lm20/filing\">filing</a> table keyed by <code>rptId</code>; related tables describe the employer that hired the persuader, the people performing the work, the specific activities described, and (for LM-21s) the persuader's financials.</p>", "keywords": "[\"persuaders\", \"LM-20\", \"LM-21\", \"anti-union consultants\", \"union avoidance\", \"labor relations consultants\", \"LMRDA Section 203\", \"OLMS\"]", "source": "OLMS website, scraped", "source_description": "Persuader-activity agreements (Form LM-20) filed with the DOL Office of Labor-Management Standards and published in its Online Public Disclosure Room.", "source_license": "https://creativecommons.org/publicdomain/mark/1.0/", "source_organization": "{\"@type\": \"Organization\", \"name\": \"U.S. Department of Labor, Office of Labor-Management Standards\", \"url\": \"https://www.dol.gov/agencies/olms\"}", "source_url": "https://olms.dol-esa.gov/olpdr/", "temporal_coverage": "2001/..", "title": "Filings for Activity of Labor Relations Consultants (Anti-union consultants)"}}