made opensecrts dir and began experimenting with opensecrets api. made a wikipedia search program in ruby.
This commit is contained in:
parent
282947de7b
commit
4f7c291f44
8 changed files with 640 additions and 0 deletions
2
opensecrets/.gitignore
vendored
Normal file
2
opensecrets/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
creds.rb
|
||||
test.rb
|
468
opensecrets/data/CRP_Categories.txt
Normal file
468
opensecrets/data/CRP_Categories.txt
Normal file
|
@ -0,0 +1,468 @@
|
|||
This information is being made available to facilitate the sharing of the quality, improved data that the Center for Responsive Politics works hard to
|
||||
provide. Should you find this information useful, please consider supporting the work of the Center with a donation:
|
||||
http://www.opensecrets.org/donate/ Whether you use this information to provide relevant links to our web site,
|
||||
www.OpenSecrets.org , or to use CRP's APIs available at www.OpenSecrets.org/open-data/api/ , please make sure to credit the Center for Responsive Politics
|
||||
and/or OpenSecrets.org. And remember, Federal law prohibits the use of contributor information for the purpose of soliciting contributions or for any
|
||||
commercial purpose.
|
||||
|
||||
|
||||
Catcode Catname Catorder Industry Sector Sector Long
|
||||
A0000 Agriculture A11 Misc Agriculture Agribusiness Agribusiness
|
||||
A1000 Crop production & basic processing A01 Crop Production & Basic Processing Agribusiness Agribusiness
|
||||
A1100 Cotton A01 Crop Production & Basic Processing Agribusiness Agribusiness
|
||||
A1200 Sugar cane & sugar beets A01 Crop Production & Basic Processing Agribusiness Agribusiness
|
||||
A1300 Tobacco & Tobacco products A02 Tobacco Agribusiness Agribusiness
|
||||
A1400 Vegetables, fruits and tree nut A01 Crop Production & Basic Processing Agribusiness Agribusiness
|
||||
A1500 Wheat, corn, soybeans and cash grain A01 Crop Production & Basic Processing Agribusiness Agribusiness
|
||||
A1600 Other commodities (incl rice, peanuts, honey) A01 Crop Production & Basic Processing Agribusiness Agribusiness
|
||||
A2000 Milk & dairy producers A04 Dairy Agribusiness Agribusiness
|
||||
A2300 Poultry & eggs A05 Poultry & Eggs Agribusiness Agribusiness
|
||||
A3000 Livestock A06 Livestock Agribusiness Agribusiness
|
||||
A3100 Animal feed & health products A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A3200 Sheep and Wool Producers A06 Livestock Agribusiness Agribusiness
|
||||
A3300 Feedlots & related livestock services A06 Livestock Agribusiness Agribusiness
|
||||
A3500 Horse breeders A06 Livestock Agribusiness Agribusiness
|
||||
A4000 Agricultural services & related industries A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A4100 Agricultural chemicals (fertilizers & pesticides) A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A4200 Farm machinery & equipment A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A4300 Grain traders & terminals A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A4500 Veterinarians A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A5000 Forestry & Forest Products A10 Forestry & Forest Products Agribusiness Agribusiness
|
||||
A5200 Paper & pulp mills and paper manufacturing A10 Forestry & Forest Products Agribusiness Agribusiness
|
||||
A6000 Farm organizations & cooperatives A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A6500 Farm bureaus A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
A8000 Florists & Nursery Services A07 Agricultural Services/Products Agribusiness Agribusiness
|
||||
B0000 Construction & Public Works C01 General Contractors Construction Construction
|
||||
B0500 Builders associations C01 General Contractors Construction Construction
|
||||
B1000 Public works, industrial & commercial construction C01 General Contractors Construction Construction
|
||||
B1200 Dredging Contractors C01 General Contractors Construction Construction
|
||||
B1500 Construction, unclassified C01 General Contractors Construction Construction
|
||||
B2000 Residential construction C02 Home Builders Construction Construction
|
||||
B2400 Mobile home construction C02 Home Builders Construction Construction
|
||||
B3000 Special trade contractors C03 Special Trade Contractors Construction Construction
|
||||
B3200 Electrical contractors C03 Special Trade Contractors Construction Construction
|
||||
B3400 Plumbing, heating & air conditioning C03 Special Trade Contractors Construction Construction
|
||||
B3600 Landscaping & Excavation Svcs C03 Special Trade Contractors Construction Construction
|
||||
B4000 Engineering, architecture & construction mgmt svcs C04 Construction Services Construction Construction
|
||||
B4200 Architectural services C04 Construction Services Construction Construction
|
||||
B4300 Surveying C04 Construction Services Construction Construction
|
||||
B4400 Engineers - type unknown C04 Construction Services Construction Construction
|
||||
B5000 Building materials C05 Building Materials & Equipment Construction Construction
|
||||
B5100 Stone, clay, glass & concrete products C05 Building Materials & Equipment Construction Construction
|
||||
B5200 Lumber and wood products C05 Building Materials & Equipment Construction Construction
|
||||
B5300 Plumbing & pipe products C05 Building Materials & Equipment Construction Construction
|
||||
B5400 Other construction-related products C05 Building Materials & Equipment Construction Construction
|
||||
B5500 Electrical Supply C05 Building Materials & Equipment Construction Construction
|
||||
B6000 Construction equipment C05 Building Materials & Equipment Construction Construction
|
||||
C0000 Communications & Electronics B00 Misc Communications/Electronics Communic/Electronics Communications/Electronics
|
||||
C1000 Printing and publishing (printed & online) B01 Printing & Publishing Communic/Electronics Communications/Electronics
|
||||
C1100 Book, newspaper & periodical publishing B01 Printing & Publishing Communic/Electronics Communications/Electronics
|
||||
C1300 Commercial printing & typesetting B01 Printing & Publishing Communic/Electronics Communications/Electronics
|
||||
C1400 Greeting card publishing B01 Printing & Publishing Communic/Electronics Communications/Electronics
|
||||
C2000 Entertainment Industry/Broadcast & Motion Pictures B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2100 Commercial TV & radio stations B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2200 Cable & satellite TV production B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2300 TV production B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2400 Motion Picture production & distribution B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2600 Recorded Music & music production B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2700 Movie Theaters B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2800 Bands, orchestras & other live music production B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C2900 Live theater & other entertainment productions B02 TV/Movies/Music Communic/Electronics Communications/Electronics
|
||||
C4000 Telecommunications B09 Telecom Services Communic/Electronics Communications/Electronics
|
||||
C4100 Telephone utilities B08 Telephone Utilities Communic/Electronics Communications/Electronics
|
||||
C4200 Long-distance telephone & telegraph service B08 Telephone Utilities Communic/Electronics Communications/Electronics
|
||||
C4300 Cell/wireless service providers B09 Telecom Services Communic/Electronics Communications/Electronics
|
||||
C4400 Satellite communications B09 Telecom Services Communic/Electronics Communications/Electronics
|
||||
C4500 Cable distributors & service providers B09 Telecom Services Communic/Electronics Communications/Electronics
|
||||
C4600 Other Communications Services B09 Telecom Services Communic/Electronics Communications/Electronics
|
||||
C5000 Electronics manufacturing & services B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5100 Computer manufacture & services B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5110 Computer components & accessories B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5120 Computer software B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5130 Data processing & computer services B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5200 Telecommunications Devices B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5300 Other Communication Electronics B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C5400 Industrial Electronics B12 Electronics Mfg & Equip Communic/Electronics Communications/Electronics
|
||||
C6000 Internet & Online Services B13 Internet Communic/Electronics Communications/Electronics
|
||||
C6100 Online Entertainment B13 Internet Communic/Electronics Communications/Electronics
|
||||
C6200 Social Media B13 Internet Communic/Electronics Communications/Electronics
|
||||
C6300 Search Engine/Email Services B13 Internet Communic/Electronics Communications/Electronics
|
||||
C6400 Vendors B13 Internet Communic/Electronics Communications/Electronics
|
||||
C6500 Hosting/Cloud Services B13 Internet Communic/Electronics Communications/Electronics
|
||||
D0000 Defense D03 Misc Defense Defense Defense
|
||||
D2000 Defense aerospace contractors D01 Defense Aerospace Defense Defense
|
||||
D3000 Defense electronic contractors D02 Defense Electronics Defense Defense
|
||||
D4000 Defense Research & Development D03 Misc Defense Defense Defense
|
||||
D5000 Defense shipbuilders D03 Misc Defense Defense Defense
|
||||
D6000 Homeland Security contractors D03 Misc Defense Defense Defense
|
||||
D8000 Ground-based & other weapons systems D03 Misc Defense Defense Defense
|
||||
D9000 Defense-related services D03 Misc Defense Defense Defense
|
||||
E0000 Energy, Natural Resources and Environment E07 Misc Energy Energy/Nat Resource Energy & Natural Resources
|
||||
E1000 Energy production & distribution E07 Misc Energy Energy/Nat Resource Energy & Natural Resources
|
||||
E1100 Oil & Gas E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1110 Major (multinational) oil & gas producers E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1120 Independent oil & gas producers E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1140 Natural Gas transmission & distribution E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1150 Oilfield service, equipment & exploration E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1160 Petroleum refining & marketing E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1170 Gasoline service stations E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1180 Fuel oil dealers E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1190 LPG/Liquid Propane dealers & producers E01 Oil & Gas Energy/Nat Resource Energy & Natural Resources
|
||||
E1200 Mining E04 Mining Energy/Nat Resource Energy & Natural Resources
|
||||
E1210 Coal mining E04 Mining Energy/Nat Resource Energy & Natural Resources
|
||||
E1220 Metal mining & processing E04 Mining Energy/Nat Resource Energy & Natural Resources
|
||||
E1230 Non-metallic mining E04 Mining Energy/Nat Resource Energy & Natural Resources
|
||||
E1240 Mining services & equipment E04 Mining Energy/Nat Resource Energy & Natural Resources
|
||||
E1300 Nuclear energy E08 Electric Utilities Energy/Nat Resource Energy & Natural Resources
|
||||
E1320 Nuclear plant construction, equipment & svcs E08 Electric Utilities Energy/Nat Resource Energy & Natural Resources
|
||||
E1500 Alternate energy production & services E07 Misc Energy Energy/Nat Resource Energy & Natural Resources
|
||||
E1600 Electric Power utilities E08 Electric Utilities Energy/Nat Resource Energy & Natural Resources
|
||||
E1610 Rural electric cooperatives E08 Electric Utilities Energy/Nat Resource Energy & Natural Resources
|
||||
E1620 Gas & Electric Utilities E08 Electric Utilities Energy/Nat Resource Energy & Natural Resources
|
||||
E1630 Independent power generation & cogeneration E08 Electric Utilities Energy/Nat Resource Energy & Natural Resources
|
||||
E1700 Power plant construction & equipment E07 Misc Energy Energy/Nat Resource Energy & Natural Resources
|
||||
E2000 Environmental services, equipment & consulting E09 Environmental Svcs/Equipment Energy/Nat Resource Energy & Natural Resources
|
||||
E3000 Waste management E10 Waste Management Energy/Nat Resource Energy & Natural Resources
|
||||
E4000 Fisheries & wildlife E11 Fisheries & Wildlife Energy/Nat Resource Energy & Natural Resources
|
||||
E4100 Fishing E11 Fisheries & Wildlife Energy/Nat Resource Energy & Natural Resources
|
||||
E4200 Hunting & wildlife E11 Fisheries & Wildlife Energy/Nat Resource Energy & Natural Resources
|
||||
E5000 Water Utilities E07 Misc Energy Energy/Nat Resource Energy & Natural Resources
|
||||
F0000 Finance, Insurance & Real Estate F13 Misc Finance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1000 Banks & lending institutions F03 Commercial Banks Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1100 Commercial banks & bank holding companies F03 Commercial Banks Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1200 Savings banks & Savings and Loans F04 Savings & Loans Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1300 Credit unions F05 Credit Unions Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1400 Credit agencies & finance companies F06 Finance/Credit Companies Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1410 Student loan companies F06 Finance/Credit Companies Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F1420 Payday lenders F06 Finance/Credit Companies Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2000 Securities, commodities & investment F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2100 Security brokers & investment companies F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2110 Discount & Online Brokers F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2200 Commodity brokers/dealers F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2300 Investment banking F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2400 Stock exchanges F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2500 Venture capital F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2600 Private Equity & Investment Firms F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F2700 Hedge Funds F07 Securities & Investment Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F3000 Insurance F09 Insurance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F3100 Insurance companies, brokers & agents F09 Insurance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F3200 Accident & health insurance F09 Insurance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F3300 Life insurance F09 Insurance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F3400 Property & casualty insurance F09 Insurance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4000 Real estate F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4100 Real Estate developers & subdividers F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4200 Real estate agents F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4300 Title insurance & title abstract offices F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4400 Mobile home dealers & parks F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4500 Building operators and managers F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4600 Mortgage bankers and brokers F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F4700 Other real estate services F10 Real Estate Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F5000 Financial services & consulting F13 Misc Finance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F5100 Accountants F11 Accountants Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F5200 Credit reporting services & collection agencies F13 Misc Finance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F5300 Tax return services F13 Misc Finance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F5500 Other financial services F13 Misc Finance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
F7000 Investors F13 Misc Finance Finance/Insur/RealEst Finance, Insurance & Real Estate
|
||||
G0000 General commerce N12 Misc Business Misc Business Misc Business
|
||||
G1000 General business associations N00 Business Associations Misc Business Misc Business
|
||||
G1100 Chambers of commerce N00 Business Associations Misc Business Misc Business
|
||||
G1200 Small business associations N00 Business Associations Misc Business Misc Business
|
||||
G1300 Pro-business associations N00 Business Associations Misc Business Misc Business
|
||||
G1310 Business tax coalitions N00 Business Associations Misc Business Misc Business
|
||||
G1400 International trade associations N00 Business Associations Misc Business Misc Business
|
||||
G2000 Food & Beverage Products and Services A09 Food Processing & Sales Agribusiness Agribusiness
|
||||
G2100 Food and kindred products manufacturing A09 Food Processing & Sales Agribusiness Agribusiness
|
||||
G2110 Artificial sweeteners and food additives N01 Food & Beverage Misc Business Misc Business
|
||||
G2200 Confectionery processors & manufacturers N01 Food & Beverage Misc Business Misc Business
|
||||
G2300 Meat processing & products A09 Food Processing & Sales Agribusiness Agribusiness
|
||||
G2350 Fish Processing N01 Food & Beverage Misc Business Misc Business
|
||||
G2400 Food stores A09 Food Processing & Sales Agribusiness Agribusiness
|
||||
G2500 Food wholesalers A09 Food Processing & Sales Agribusiness Agribusiness
|
||||
G2600 Beverages (non-alcoholic) N01 Food & Beverage Misc Business Misc Business
|
||||
G2700 Beverage bottling & distribution N01 Food & Beverage Misc Business Misc Business
|
||||
G2800 Alcohol N02 Beer, Wine & Liquor Misc Business Misc Business
|
||||
G2810 Beer N02 Beer, Wine & Liquor Misc Business Misc Business
|
||||
G2820 Wine & distilled spirits manufacturing N02 Beer, Wine & Liquor Misc Business Misc Business
|
||||
G2840 Liquor stores N02 Beer, Wine & Liquor Misc Business Misc Business
|
||||
G2850 Liquor wholesalers N02 Beer, Wine & Liquor Misc Business Misc Business
|
||||
G2860 Marijuana Production, Sales & Paraphernalia N09 Marijuana Misc Business Misc Business
|
||||
G2900 Restaurants & drinking establishments N01 Food & Beverage Misc Business Misc Business
|
||||
G2910 Food catering & food services N01 Food & Beverage Misc Business Misc Business
|
||||
G3000 Wholesale trade N12 Misc Business Misc Business Misc Business
|
||||
G3500 Import/Export services N12 Misc Business Misc Business Misc Business
|
||||
G4000 Retail trade N03 Retail Sales Misc Business Misc Business
|
||||
G4100 Apparel & accessory stores N03 Retail Sales Misc Business Misc Business
|
||||
G4200 Consumer electronics & computer stores N03 Retail Sales Misc Business Misc Business
|
||||
G4300 Department, variety & convenience stores N03 Retail Sales Misc Business Misc Business
|
||||
G4400 Furniture & appliance stores N03 Retail Sales Misc Business Misc Business
|
||||
G4500 Hardware & building materials stores N03 Retail Sales Misc Business Misc Business
|
||||
G4600 Miscellaneous retail stores N03 Retail Sales Misc Business Misc Business
|
||||
G4700 Catalog & mail order houses N03 Retail Sales Misc Business Misc Business
|
||||
G4800 Direct sales N03 Retail Sales Misc Business Misc Business
|
||||
G4850 Vending Machine Sales & Services N03 Retail Sales Misc Business Misc Business
|
||||
G4900 Drug stores N03 Retail Sales Misc Business Misc Business
|
||||
G5000 Services N04 Misc Services Misc Business Misc Business
|
||||
G5100 Beauty & barber shops N04 Misc Services Misc Business Misc Business
|
||||
G5200 Business services N05 Business Services Misc Business Misc Business
|
||||
G5210 Advertising & public relations services N05 Business Services Misc Business Misc Business
|
||||
G5220 Direct mail advertising services N05 Business Services Misc Business Misc Business
|
||||
G5230 Outdoor advertising services N05 Business Services Misc Business Misc Business
|
||||
G5240 Commercial photography, art & graphic design N05 Business Services Misc Business Misc Business
|
||||
G5250 Employment agencies N05 Business Services Misc Business Misc Business
|
||||
G5260 Political consultants/advisers N05 Business Services Misc Business Misc Business
|
||||
G5270 Management consultants & services N05 Business Services Misc Business Misc Business
|
||||
G5280 Marketing research services N05 Business Services Misc Business Misc Business
|
||||
G5290 Security services N05 Business Services Misc Business Misc Business
|
||||
G5300 Equipment rental & leasing N04 Misc Services Misc Business Misc Business
|
||||
G5400 Funeral services N04 Misc Services Misc Business Misc Business
|
||||
G5500 Laundries & dry cleaners N04 Misc Services Misc Business Misc Business
|
||||
G5600 Miscellaneous repair services N04 Misc Services Misc Business Misc Business
|
||||
G5700 Pest control N04 Misc Services Misc Business Misc Business
|
||||
G5800 Physical fitness centers N04 Misc Services Misc Business Misc Business
|
||||
G6000 Recreation/Entertainment N06 Recreation/Live Entertainment Misc Business Misc Business
|
||||
G6100 Amusement/recreation centers N06 Recreation/Live Entertainment Misc Business Misc Business
|
||||
G6400 Professional sports, arenas & related equip & svcs N06 Recreation/Live Entertainment Misc Business Misc Business
|
||||
G6500 Casinos, racetracks & gambling N07 Casinos/Gambling Misc Business Misc Business
|
||||
G6550 Indian Gaming N07 Casinos/Gambling Misc Business Misc Business
|
||||
G6700 Amusement parks N06 Recreation/Live Entertainment Misc Business Misc Business
|
||||
G6800 Video rental N04 Misc Services Misc Business Misc Business
|
||||
G7000 Correctional facilities constr & mgmt/for-profit N12 Misc Business Misc Business Misc Business
|
||||
H0000 Health, Education & Human Resources H05 Misc Health Health Health
|
||||
H1000 Health professionals H01 Health Professionals Health Health
|
||||
H1100 Physicians H01 Health Professionals Health Health
|
||||
H1110 Psychiatrists & psychologists H01 Health Professionals Health Health
|
||||
H1120 Optometrists & Ophthalmologists H01 Health Professionals Health Health
|
||||
H1130 Other physician specialists H01 Health Professionals Health Health
|
||||
H1400 Dentists H01 Health Professionals Health Health
|
||||
H1500 Chiropractors H01 Health Professionals Health Health
|
||||
H1700 Other non-physician health practitioners H01 Health Professionals Health Health
|
||||
H1710 Nurses H01 Health Professionals Health Health
|
||||
H1750 Pharmacists H01 Health Professionals Health Health
|
||||
H2000 Health care institutions H02 Hospitals/Nursing Homes Health Health
|
||||
H2100 Hospitals H02 Hospitals/Nursing Homes Health Health
|
||||
H2200 Nursing homes H02 Hospitals/Nursing Homes Health Health
|
||||
H2300 Drug & alcohol treatment hospitals H02 Hospitals/Nursing Homes Health Health
|
||||
H3000 Health care services H03 Health Services/HMOs Health Health
|
||||
H3100 Home care services H03 Health Services/HMOs Health Health
|
||||
H3200 Outpatient health services (incl drug & alcohol) H03 Health Services/HMOs Health Health
|
||||
H3300 Optical services (glasses & contact lenses) H03 Health Services/HMOs Health Health
|
||||
H3400 Medical laboratories H03 Health Services/HMOs Health Health
|
||||
H3500 AIDS treatment & testing H03 Health Services/HMOs Health Health
|
||||
H3700 HMOs H03 Health Services/HMOs Health Health
|
||||
H3800 Mental Health Services H03 Health Services/HMOs Health Health
|
||||
H3900 Health care Consultants H03 Health Services/HMOs Health Health
|
||||
H4000 Health care products H04 Pharmaceuticals/Health Products Health Health
|
||||
H4100 Medical Devices & Supplies H04 Pharmaceuticals/Health Products Health Health
|
||||
H4200 Personal health care products H04 Pharmaceuticals/Health Products Health Health
|
||||
H4300 Pharmaceutical manufacturing H04 Pharmaceuticals/Health Products Health Health
|
||||
H4400 Pharmaceutical wholesale H04 Pharmaceuticals/Health Products Health Health
|
||||
H4500 Biotech products & research H04 Pharmaceuticals/Health Products Health Health
|
||||
H4600 Nutritional & dietary supplements H04 Pharmaceuticals/Health Products Health Health
|
||||
H4700 Pharmaceutical cannabis H04 Pharmaceuticals/Health Products Health Health
|
||||
H5000 Education W04 Education Other Other
|
||||
H5100 Schools & colleges W04 Education Other Other
|
||||
H5150 Medical schools W04 Education Other Other
|
||||
H5170 Law schools W04 Education Other Other
|
||||
H5200 Technical, business and vocational schools & svcs W04 Education Other Other
|
||||
H5300 For-profit Education W04 Education Other Other
|
||||
H6000 Welfare & Social Work W07 Other Other Other
|
||||
J0000 Ideological & Single Issue PACs Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J1000 General Ideological Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J1100 Republican/Conservative Q01 Republican/Conservative Ideology/Single-Issue Ideological/Single-Issue
|
||||
J1110 Christian Conservative Q01 Republican/Conservative Ideology/Single-Issue Ideological/Single-Issue
|
||||
J1200 Democratic/Liberal Q02 Democratic/Liberal Ideology/Single-Issue Ideological/Single-Issue
|
||||
J1300 Third-party committees Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J2000 Leadership committees Q03 Leadership PACs Ideology/Single-Issue Ideological/Single-Issue
|
||||
J2100 Democratic leadership PAC Q03 Leadership PACs Ideology/Single-Issue Ideological/Single-Issue
|
||||
J2200 Republican leadership PAC Q03 Leadership PACs Ideology/Single-Issue Ideological/Single-Issue
|
||||
J2300 Democratic officials, candidates & former members Q03 Leadership PACs Ideology/Single-Issue Ideological/Single-Issue
|
||||
J2400 Republican officials, candidates & former members Q03 Leadership PACs Ideology/Single-Issue Ideological/Single-Issue
|
||||
J2500 Non-Federal candidate committees Q03 Leadership PACs Ideology/Single-Issue Ideological/Single-Issue
|
||||
J3000 Consumer groups Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J4000 Fiscal & tax policy Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J5000 Foreign policy Q04 Foreign & Defense Policy Ideology/Single-Issue Ideological/Single-Issue
|
||||
J5100 Pro-Israel Q05 Pro-Israel Ideology/Single-Issue Ideological/Single-Issue
|
||||
J5200 Anti-Castro Q04 Foreign & Defense Policy Ideology/Single-Issue Ideological/Single-Issue
|
||||
J5300 Puerto Rico statehood policy Q04 Foreign & Defense Policy Ideology/Single-Issue Ideological/Single-Issue
|
||||
J5400 Pro-Arab Q04 Foreign & Defense Policy Ideology/Single-Issue Ideological/Single-Issue
|
||||
J6100 Anti-Guns Q12 Gun Control Ideology/Single-Issue Ideological/Single-Issue
|
||||
J6200 Pro-Guns Q13 Gun Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J6500 Militias & Anti-Government Groups Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7000 Human Rights Q09 Human Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7120 Abortion policy/Anti-Abortion Q14 Abortion Policy/Anti-Abortion Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7150 Abortion policy/Pro-Abortion Rights Q15 Abortion Policy/Pro-Abortion Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7200 Elderly issues/Social Security Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7210 Legalization of Doctor-Assisted Suicide Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7300 Gay & lesbian rights & issues Q09 Human Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7400 Women's issues Q08 Women's Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7500 Minority/Ethnic Groups Q09 Human Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7510 Native American Tribes Q09 Human Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7600 Animal Rights Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J7700 Children's rights Q09 Human Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
J8000 Labor, anti-union Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J9000 Other single-issue or ideological groups Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
J9100 Term limits Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
JD100 Defense policy, hawks Q04 Foreign & Defense Policy Ideology/Single-Issue Ideological/Single-Issue
|
||||
JD200 Defense policy, doves Q04 Foreign & Defense Policy Ideology/Single-Issue Ideological/Single-Issue
|
||||
JE300 Environmental policy Q11 Environment Ideology/Single-Issue Ideological/Single-Issue
|
||||
JH100 Health & welfare policy Q09 Human Rights Ideology/Single-Issue Ideological/Single-Issue
|
||||
JW100 Pro-resource development groups Q10 Misc Issues Ideology/Single-Issue Ideological/Single-Issue
|
||||
K0000 Legal Services K01 Lawyers/Law Firms Lawyers & Lobbyists Lawyers & Lobbyists
|
||||
K1000 Attorneys & law firms K01 Lawyers/Law Firms Lawyers & Lobbyists Lawyers & Lobbyists
|
||||
K1100 Trial lawyers & law firms K01 Lawyers/Law Firms Lawyers & Lobbyists Lawyers & Lobbyists
|
||||
K1200 Corporate lawyers & law firms K01 Lawyers/Law Firms Lawyers & Lobbyists Lawyers & Lobbyists
|
||||
K2000 Lobbyists & Public Relations K02 Lobbyists Lawyers & Lobbyists Lawyers & Lobbyists
|
||||
K2100 Registered Foreign Agents K02 Lobbyists Lawyers & Lobbyists Lawyers & Lobbyists
|
||||
L0000 Labor Unions P05 Misc Unions Labor Labor
|
||||
L1000 Civil service & government unions P04 Public Sector Unions Labor Labor
|
||||
L1100 Federal employees unions P04 Public Sector Unions Labor Labor
|
||||
L1200 State & local govt employee unions P04 Public Sector Unions Labor Labor
|
||||
L1300 Teachers unions P04 Public Sector Unions Labor Labor
|
||||
L1400 Police & firefighters unions & associations P04 Public Sector Unions Labor Labor
|
||||
L1500 US Postal Service unions & associations P04 Public Sector Unions Labor Labor
|
||||
L5000 Other unions P05 Misc Unions Labor Labor
|
||||
LA100 Agricultural labor unions P05 Misc Unions Labor Labor
|
||||
LB100 Building trades unions P01 Building Trade Unions Labor Labor
|
||||
LC100 Communications & hi-tech unions P02 Industrial Unions Labor Labor
|
||||
LC150 IBEW (Intl Brotherhood of Electrical Workers) P02 Industrial Unions Labor Labor
|
||||
LD100 Defense-related unions P05 Misc Unions Labor Labor
|
||||
LE100 Mining unions P02 Industrial Unions Labor Labor
|
||||
LE200 Energy-related unions (non-mining) P02 Industrial Unions Labor Labor
|
||||
LG000 General commercial unions P05 Misc Unions Labor Labor
|
||||
LG100 Food service & related unions P05 Misc Unions Labor Labor
|
||||
LG200 Retail trade unions P05 Misc Unions Labor Labor
|
||||
LG300 Commercial service unions P05 Misc Unions Labor Labor
|
||||
LG400 Entertainment unions P05 Misc Unions Labor Labor
|
||||
LG500 Other commercial unions P05 Misc Unions Labor Labor
|
||||
LH100 Health worker unions P05 Misc Unions Labor Labor
|
||||
LM100 Manufacturing unions P02 Industrial Unions Labor Labor
|
||||
LM150 Automotive Manufacturing union P02 Industrial Unions Labor Labor
|
||||
LT000 Transportation unions P03 Transportation Unions Labor Labor
|
||||
LT100 Air transport unions P03 Transportation Unions Labor Labor
|
||||
LT300 Teamsters union P03 Transportation Unions Labor Labor
|
||||
LT400 Railroad unions P03 Transportation Unions Labor Labor
|
||||
LT500 Merchant marine & longshoremen unions P03 Transportation Unions Labor Labor
|
||||
LT600 Other transportation unions P03 Transportation Unions Labor Labor
|
||||
M0000 Manufacturing N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M1000 Chemicals N13 Chemical & Related Manufacturing Misc Business Misc Business
|
||||
M1100 Explosives N13 Chemical & Related Manufacturing Misc Business Misc Business
|
||||
M1300 Household cleansers & chemicals N13 Chemical & Related Manufacturing Misc Business Misc Business
|
||||
M1400 Manmade fibers N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M1500 Plastics & Rubber processing & products N13 Chemical & Related Manufacturing Misc Business Misc Business
|
||||
M1600 Paints, Solvents & Coatings N13 Chemical & Related Manufacturing Misc Business Misc Business
|
||||
M1700 Adhesives & Sealants N13 Chemical & Related Manufacturing Misc Business Misc Business
|
||||
M2000 Heavy industrial manufacturing N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M2100 Steel N14 Steel Production Misc Business Misc Business
|
||||
M2200 Smelting & non-petroleum refining N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M2250 Aluminum mining/processing N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M2300 Industrial/commercial equipment & materials N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M2400 Recycling of metal, paper, plastics, etc. N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3000 Personal products manufacturing N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3100 Clothing & accessories N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3200 Shoes & leather products N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3300 Toiletries & cosmetics N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3400 Jewelry N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3500 Toys N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M3600 Sporting goods sales & manufacturing N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M4000 Household & office products N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M4100 Furniture & wood products N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M4200 Office machines N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M4300 Household appliances N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M5000 Fabricated metal products N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M5100 Hardware & tools N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M5200 Electroplating, polishing & related services N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M5300 Small arms & ammunition N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M6000 Electrical lighting products N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M7000 Paper, glass & packaging materials N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M7100 Paper packaging materials N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M7200 Glass products N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M7300 Metal cans & containers N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M8000 Textiles & fabrics N16 Textiles Misc Business Misc Business
|
||||
M9000 Precision instruments N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M9100 Optical instruments & lenses N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M9200 Photographic equipment & supplies N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
M9300 Clocks & watches N15 Misc Manufacturing & Distributing Misc Business Misc Business
|
||||
T0000 Transportation M06 Misc Transport Transportation Transportation
|
||||
T1000 Air transport M01 Air Transport Transportation Transportation
|
||||
T1100 Airlines M01 Air Transport Transportation Transportation
|
||||
T1200 Aircraft manufacturers M01 Air Transport Transportation Transportation
|
||||
T1300 Aircraft parts & equipment M01 Air Transport Transportation Transportation
|
||||
T1400 General aviation (private pilots) M01 Air Transport Transportation Transportation
|
||||
T1500 Air freight M01 Air Transport Transportation Transportation
|
||||
T1600 Aviation services & airports M01 Air Transport Transportation Transportation
|
||||
T1700 Space vehicles & components M01 Air Transport Transportation Transportation
|
||||
T2000 Automotive, Misc M02 Automotive Transportation Transportation
|
||||
T2100 Auto manufacturers M02 Automotive Transportation Transportation
|
||||
T2200 Truck/Automotive parts & accessories M02 Automotive Transportation Transportation
|
||||
T2300 Auto dealers, new & used M02 Automotive Transportation Transportation
|
||||
T2310 Auto dealers, foreign imports M02 Automotive Transportation Transportation
|
||||
T2400 Auto repair M02 Automotive Transportation Transportation
|
||||
T2500 Car rental agencies M02 Automotive Transportation Transportation
|
||||
T3000 Trucking M03 Trucking Transportation Transportation
|
||||
T3100 Trucking companies & services M03 Trucking Transportation Transportation
|
||||
T3200 Truck & trailer manufacturers M03 Trucking Transportation Transportation
|
||||
T4000 Buses & Taxis M06 Misc Transport Transportation Transportation
|
||||
T4100 Bus services M06 Misc Transport Transportation Transportation
|
||||
T4200 Taxicabs M06 Misc Transport Transportation Transportation
|
||||
T5000 Railroad transportation M04 Railroads Transportation Transportation
|
||||
T5100 Railroads M04 Railroads Transportation Transportation
|
||||
T5200 Manufacturers of railroad equipment M04 Railroads Transportation Transportation
|
||||
T5300 Railroad services M04 Railroads Transportation Transportation
|
||||
T6000 Sea transport M05 Sea Transport Transportation Transportation
|
||||
T6100 Ship building & repair M05 Sea Transport Transportation Transportation
|
||||
T6200 Sea freight & passenger services M05 Sea Transport Transportation Transportation
|
||||
T6250 Cruise ships & lines M05 Sea Transport Transportation Transportation
|
||||
T7000 Freight & delivery services M06 Misc Transport Transportation Transportation
|
||||
T7100 Express delivery services M01 Air Transport Transportation Transportation
|
||||
T7200 Warehousing N12 Misc Business Misc Business Misc Business
|
||||
T8000 Recreational transport M06 Misc Transport Transportation Transportation
|
||||
T8100 Motorcycles, snowmobiles & other motorized vehicle M06 Misc Transport Transportation Transportation
|
||||
T8200 Motor homes & camper trailers M06 Misc Transport Transportation Transportation
|
||||
T8300 Pleasure boats M06 Misc Transport Transportation Transportation
|
||||
T8400 Bicycles & other non-motorized recreational transp M06 Misc Transport Transportation Transportation
|
||||
T9000 Lodging & tourism N08 Lodging/Tourism Misc Business Misc Business
|
||||
T9100 Hotels & motels N08 Lodging/Tourism Misc Business Misc Business
|
||||
T9300 Resorts N08 Lodging/Tourism Misc Business Misc Business
|
||||
T9400 Travel agents N08 Lodging/Tourism Misc Business Misc Business
|
||||
X0000 Other W07 Other Other Other
|
||||
X1200 Retired W06 Retired Other Other
|
||||
X3000 Civil servant/public employee W03 Civil Servants/Public Officials Other Other
|
||||
X3100 Public official (elected or appointed) W03 Civil Servants/Public Officials Other Other
|
||||
X3200 Courts & Justice System W03 Civil Servants/Public Officials Other Other
|
||||
X3300 Municipal & county government organizations W03 Civil Servants/Public Officials Other Other
|
||||
X3500 Public school teachers, administrators & officials W04 Education Other Other
|
||||
X3700 US Postal Service W03 Civil Servants/Public Officials Other Other
|
||||
X4000 Non-Profits W02 Non-Profit Institutions Other Other
|
||||
X4100 Non-profit foundations W02 Non-Profit Institutions Other Other
|
||||
X4110 Philanthropists W02 Non-Profit Institutions Other Other
|
||||
X4200 Museums, art galleries, libraries, etc. W02 Non-Profit Institutions Other Other
|
||||
X5000 Military W07 Other Other Other
|
||||
X7000 Churches, clergy & religious organizations W05 Clergy & Religious Organizations Other Other
|
||||
X8000 International Organizations W07 Other Other Other
|
||||
X9000 Foreign Governments W07 Other Other Other
|
||||
Y0000 Unknown Y00 Unknown Unknown Unknown
|
||||
Y1000 Homemakers, students & other non-income earners Y01 Homemakers/Non-income earners Unknown Unknown
|
||||
Y2000 No employer listed or discovered Y02 No Employer Listed or Found Unknown Unknown
|
||||
Y3000 Generic occupation - impossible to assign category Y03 Generic Occupation/Category Unknown Unknown Unknown
|
||||
Y4000 Employer listed but category unknown Y04 Employer Listed/Category Unknown Unknown Unknown
|
||||
Z1000 Candidate Committees Q16 Candidate Committees Ideology/Single-Issue Ideological/Single-Issue
|
||||
Z1100 Republican Candidate Committees Q16 Candidate Committees Ideology/Single-Issue Ideological/Single-Issue
|
||||
Z1200 Democratic Candidate Committees Q16 Candidate Committees Ideology/Single-Issue Ideological/Single-Issue
|
||||
Z1300 Third-Party Candidate Committees Q16 Candidate Committees Ideology/Single-Issue Ideological/Single-Issue
|
||||
Z1400 Unknown-Party Candidate Committees Q16 Candidate Committees Ideology/Single-Issue Ideological/Single-Issue
|
||||
Z4100 Republican Joint Candidate Committee Z04 Joint Candidate Cmte Joint Candidate Cmtes Joint Candidate Cmtes
|
||||
Z4200 Democratic Joint Candidate Committee Z04 Joint Candidate Cmte Joint Candidate Cmtes Joint Candidate Cmtes
|
||||
Z4300 Third-Party Joint Candidate Committee Z04 Joint Candidate Cmte Joint Candidate Cmtes Joint Candidate Cmtes
|
||||
Z4400 Liberal Non-party Joint Fundraising Committee Z04 Joint Candidate Cmte Joint Candidate Cmtes Joint Candidate Cmtes
|
||||
Z4500 Conservative Non-party Joint Fundraising Committee Z04 Joint Candidate Cmte Joint Candidate Cmtes Joint Candidate Cmtes
|
||||
Z5000 Party Committees Z02 Party Committees Party Cmte Party Cmtes
|
||||
Z5100 Republican Party Committees Z02 Party Committees Party Cmte Party Cmtes
|
||||
Z5200 Democratic Party Committees Z02 Party Committees Party Cmte Party Cmtes
|
||||
Z5300 Third-Party Party Committees Z02 Party Committees Party Cmte Party Cmtes
|
||||
Z9000 Candidate contribution to his/her own campaign Z07 Candidate Self-finance Candidate Candidate
|
||||
Z9100 Transfer between national party committees Z08 Party Committee Transfer Non-contribution Non-contribution
|
||||
Z9500 Transfer from intermediary ( type 24I or 24T) Z09 Non-contribution Non-contribution Non-contribution
|
||||
Z9600 Non-Contribution, Miscellaneous Z09 Non-contribution Non-contribution Non-contribution
|
||||
Z9700 Unitemized (small) contributions Z09 Non-contribution Non-contribution Non-contribution
|
||||
Z9800 Public Funding Z09 Non-contribution Non-contribution Non-contribution
|
||||
Z9999 Internal Transfer and other non-contributions Z09 Non-contribution Non-contribution Non-contribution
|
47
opensecrets/data/CRP_CongCmtes.txt
Normal file
47
opensecrets/data/CRP_CongCmtes.txt
Normal file
|
@ -0,0 +1,47 @@
|
|||
code cmtename
|
||||
HADM House Administration
|
||||
HAGR Agriculture
|
||||
HAPP Appropriations
|
||||
HARM Armed Services
|
||||
HBUD Budget
|
||||
HEDU Education and Labor
|
||||
HENE Energy and Commerce
|
||||
HFIN Financial Services
|
||||
HGOV Oversight and Government Reform
|
||||
HHSC Homeland Security
|
||||
HINT Foreign Affairs
|
||||
HITL Permanent Select on Intelligence
|
||||
HJUD Judiciary
|
||||
HPRC U.S. National Security and Military/ Commercial Concerns with the People's Republic of China
|
||||
HRES Natural Resources
|
||||
HRUL Rules
|
||||
HSCI Science
|
||||
HSMA Small Business
|
||||
HSTA Standards of Official Conduct
|
||||
HTRA Transportation and Infrastructure
|
||||
HVET Veterans' Affairs
|
||||
HWAY Ways and Means
|
||||
JECO Joint Economic
|
||||
JLIB Joint Library of Congress
|
||||
JPRI Joint Printing
|
||||
JTAX Joint Taxation
|
||||
SAGI Special Aging
|
||||
SAGR Agriculture, Nutrition and Forestry
|
||||
SAPP Appropriations
|
||||
SARM Armed Services
|
||||
SBAN Banking, Housing, and Urban Affairs
|
||||
SBUD Budget
|
||||
SCOM Commerce, Science, and Transportation
|
||||
SENE Energy and Natural Resources
|
||||
SENV Environment and Public Works
|
||||
SETH Select Ethics
|
||||
SFIN Finance
|
||||
SFOR Foreign Relations
|
||||
SGOV Homeland Security and Governmental Affairs
|
||||
SIND Indian Affairs
|
||||
SITL Select Intelligence
|
||||
SJUD Judiciary
|
||||
SLAB Health, Education, Labor and Pensions
|
||||
SRUL Rules and Administration
|
||||
SSMA Small Business and Entrepreneurship
|
||||
SVET Veterans' Affairs
|
BIN
opensecrets/data/CRP_IDs.xls
Normal file
BIN
opensecrets/data/CRP_IDs.xls
Normal file
Binary file not shown.
55
opensecrets/example.rb
Executable file
55
opensecrets/example.rb
Executable file
|
@ -0,0 +1,55 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require 'rubygems'
|
||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) # only when running from gem source dir
|
||||
require 'opensecrets'
|
||||
require 'pp'
|
||||
|
||||
|
||||
########
|
||||
# NOTE : You should 'export OPENSECRETS_API_KEY=YOUR_API_KEY' before running this script.
|
||||
########
|
||||
|
||||
|
||||
CID = 'N00007360' # Nancy Pelosi
|
||||
|
||||
|
||||
member = OpenSecrets::Member.new
|
||||
|
||||
puts "\n\nMEMBER : GET LEGISLATORS\n\n"
|
||||
pp member.get_legislators({:id => "CA"})["response"]
|
||||
|
||||
puts "\n\nMEMBER : PFD PROFILE\n\n"
|
||||
pp member.pfd({:cid => CID, :year => '2014'})["response"]
|
||||
|
||||
|
||||
cand = OpenSecrets::Candidate.new
|
||||
|
||||
puts "\n\nCANDIDATE : SUMMARY\n\n"
|
||||
pp cand.summary({:cid => CID})["response"]
|
||||
|
||||
puts "\n\nCANDIDATE : CONTRIBUTORS\n\n"
|
||||
pp cand.contributors({:cid => CID})["response"]
|
||||
|
||||
puts "\n\nCANDIDATE : INDUSTRIES\n\n"
|
||||
pp cand.industries({:cid => CID})["response"]
|
||||
|
||||
puts "\n\nCANDIDATE : CONTRIBUTIONS BY SPECIFIC INDUSTRY\n\n"
|
||||
pp cand.contributions_by_industry({:cid => CID, :ind => 'K02'})["response"]
|
||||
|
||||
puts "\n\nCANDIDATE : SECTOR\n\n"
|
||||
pp cand.sector({:cid => CID})["response"]
|
||||
|
||||
|
||||
com = OpenSecrets::Committee.new
|
||||
|
||||
puts "\n\nCOMMITTEE\n\n"
|
||||
pp com.by_industry({:cmte => 'HARM', :congno => '113', :indus => 'F10'})["response"]
|
||||
|
||||
org = OpenSecrets::Organization.new
|
||||
|
||||
puts "\n\nORGANIZATION : GET ORGANIZATIONS\n\n"
|
||||
pp org.get_orgs({:org => 'people'})["response"]
|
||||
|
||||
puts "\n\nORGANIZATION : ORGANIZATION SUMMARY\n\n"
|
||||
pp org.org_summary({:id => 'D000023248'})["response"]
|
33
opensecrets/main.rb
Executable file
33
opensecrets/main.rb
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/env ruby
|
||||
#
|
||||
require './creds.rb'
|
||||
require 'net/http'
|
||||
|
||||
include ApiCreds
|
||||
api_key = KEY['api_key']
|
||||
|
||||
state_cc = ['AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL', 'GA', 'GU', 'HI', 'ID', 'IL',
|
||||
'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH',
|
||||
'NJ', 'NM', 'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX'.
|
||||
'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY']
|
||||
|
||||
target_url = 'http://www.opensecrets.org/api/'
|
||||
|
||||
|
||||
output_type = ['json', 'xml', 'doc']
|
||||
|
||||
|
||||
# method types for opensecrets.org:
|
||||
# https://www.opensecrets.org/open-data/api-documentation
|
||||
#
|
||||
# getLegislators
|
||||
# memPFDprofile
|
||||
# candSummary
|
||||
# candContrib
|
||||
# candIndustry
|
||||
# candIndByInd
|
||||
# candSector
|
||||
# congCmtIndus
|
||||
# getOrgs
|
||||
# orgSummary
|
||||
# independentExpend
|
24
opensecrets/parse_xls.rb
Executable file
24
opensecrets/parse_xls.rb
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/usr/bin/env ruby
|
||||
# testing parsing xls files
|
||||
#
|
||||
require 'roo-xls'
|
||||
|
||||
args = ARGV
|
||||
first_name = args[0]
|
||||
last_name = args[1]
|
||||
|
||||
# load the spreedsheet
|
||||
xls = Roo::Spreadsheet.open('./data/CRP_IDs.xls', extension: :xls)
|
||||
|
||||
# summary info of the spreedsheet
|
||||
xls.info
|
||||
|
||||
# loop through the given spreadsheet columns, and create a hash
|
||||
# create a hash(dict) of cid and crpname of everyone on a spreadsheet
|
||||
#
|
||||
xls.sheet(0).each(cid: 'CID', crpname: 'CRPName') do |hash|
|
||||
if hash.has_value?("#{last_name}, #{first_name}")
|
||||
puts "Found: #{first_name} #{last_name}"
|
||||
puts "CID: #{hash.values[0]}"
|
||||
end
|
||||
end
|
11
wiki_search.rb
Executable file
11
wiki_search.rb
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env ruby
|
||||
# search wikipedia
|
||||
|
||||
require 'wikipedia'
|
||||
|
||||
args = ARGV
|
||||
|
||||
page = Wikipedia.find(args[0])
|
||||
|
||||
puts page.title+"\n"
|
||||
puts page.text+"\n"
|
Loading…
Add table
Reference in a new issue