Tipsheets

Browse more 5,000 tipsheets from our national conferences and Watchdog Workshops on how to cover specific beats, conduct a great interview and learn countless tips on where to find the information you need.

Logged-in members can download any tipsheet, for free. Contact the Resource Center 573-882-3364 or rescntr@ire.org for questions.

Search results for "python script" ...

  • Level up your Python game: Refactoring your code

    You’ve written a few Python scripts that get the job done, but the initial euphoria has worn off. Your code is hard to read. Bugs are cropping up. And you can’t always explain your process or results to an editor — or yourself. There must be a better way, but the path forward is not clear. If you’ve had that itchy feeling, this is for you. It will explore Python language features that will help you write readable, reliable and reusable code. https://docs.google.com/presentation/d/e/2PACX-1vQO8vUBaFBsuU4RQuvYWU_8RddovMBGPZ2GGjtZu5B_Rh8ZoykteZjBG9aOGGzdaDbn4vM3BtZt70mL/pub?start=false&loop=false&delayms=3000&slide=id.p

    Tags: python; language

    By Serdar Tumgoren

    2018

  • (Re)designing Code

    You’ve written a few Python scripts that get the job done, but the initial euphoria has worn off. Your code is hard to understand. Bugs are cropping up. Worse, you can’t always explain your process or results to an editor — or yourself. There must be a better way, but the path forward is not clear. If you’ve had that itchy feeling, this tipsheet is for you. After mastering the basics of writing code, you need to understand how to design programs. To that end, this tipsheet will explore Python language features that will help you write readable, reliable and reusable code.

    Tags: python; programming

    By Eric Sagara, Serdar Tumgoren

    2016

  • Using Federal Campaign Expenditure Data

    This tipsheet is a good guide to using electronically filed campaign expenditure data. First, Willis offers an explanation of electronic data formats, then he discusses the different types of expenditures. He offers tips on different ways to work with the data through the FEC website. lastly, he warns about some problems to watch out for and offers final tips for the analysis.

    Tags: campaign finance data; analysis; FEC; government reporting; elections; voting; python script; FTP server

    By Derek Willis

    2005