def create_header(args):
    """Constructs the header row for the csv"""
    header = ["Propublica Number", "Org Name", "Tax Year", "Data Source",
              "PDF URL"]
    if args.totalrev:
        header.append("Total Revenue")
    if args.totalexp:
        header.append("Total Functional Expenses")
    if args.netinc:
        header.append("Net Income")
    if args.totalass:
        header.append("Total Assets")
    if args.totallia:
        header.append("Total Liabilities")
    if args.netass:
        header.append("Net Assets")
    if args.all:
        header = ["Propublica Number", "Org Name", "Tax Year", "Data Source",
                  "PDF URL", "Total Revenue", "Total Functional Expenses",
                  "Net Income", "Total Assets", "Total Liabilities", "Net"
                  "Assets"]
    return header