kableExtra with advanced styling
Total Enrollment by Undergraduate and Graduate Level, Full-time/Part-time Attendance, and College - Fall 2018
College | Full-time | Part-time | Total | Full-time | Part-time | Total | Full-time | Part-time | Total |
---|---|---|---|---|---|---|---|---|---|
Baruch | 11,495 | 3,529 | 15,024 | 566 | 2,439 | 3,005 | 12,061 | 5,968 | 18,029 |
Brooklyn | 11,142 | 3,836 | 14,978 | 595 | 2,588 | 3,183 | 11,737 | 6,424 | 18,161 |
City | 10,248 | 2,938 | 13,186 | 503 | 2,058 | 2,561 | 10,751 | 4,996 | 15,747 |
Hunter | 13,111 | 4,101 | 17,212 | 1,524 | 4,466 | 5,990 | 14,635 | 8,567 | 23,202 |
John Jay | 10,740 | 2,579 | 13,319 | 388 | 1,687 | 2,075 | 11,128 | 4,266 | 15,394 |
Lehman | 7,794 | 4,845 | 12,639 | 214 | 1,934 | 2,148 | 8,008 | 6,779 | 14,787 |
Medgar Evers | 4,705 | 1,933 | 6,638 | 4,705 | 1,933 | 6,638 | |||
NYCCT | 10,902 | 6,367 | 17,269 | 10,902 | 6,367 | 17,269 | |||
Queens | 12,201 | 4,419 | 16,620 | 430 | 2,696 | 3,126 | 12,631 | 7,115 | 19,746 |
Staten Island | 9,567 | 2,644 | 12,211 | 226 | 810 | 1,036 | 9,793 | 3,454 | 13,247 |
York | 5,085 | 3,410 | 8,495 | 147 | 51 | 198 | 5,232 | 3,461 | 8,693 |
Graduate School | 3,139 | 468 | 3,607 | 3,139 | 468 | 3,607 | |||
Journalism | 225 | 5 | 230 | 225 | 5 | 230 | |||
Professional Studies | 401 | 1,710 | 2,111 | 19 | 1,075 | 1,094 | 420 | 2,785 | 3,205 |
Labor & Urban Studies | 10 | 166 | 176 | 12 | 222 | 234 | 22 | 388 | 410 |
Public Health | 163 | 426 | 589 | 163 | 426 | 589 | |||
Law School | 418 | 165 | 583 | 418 | 165 | 583 | |||
Medical School | 237 | 59 | 296 | 237 | 59 | 296 | |||
TOTAL SENIOR COLLEGES | 107,401 | 42,477 | 149,878 | 8,806 | 21,149 | 29,955 | 116,207 | 63,626 | 179,833 |
BMCC | 18,076 | 8,430 | 26,506 | 18,076 | 8,430 | 26,506 | |||
Bronx | 6,685 | 3,834 | 10,519 | 6,685 | 3,834 | 10,519 | |||
Guttman | 848 | 107 | 955 | 848 | 107 | 955 | |||
Hostos | 4,138 | 3,193 | 7,331 | 4,138 | 3,193 | 7,331 | |||
Kingsborough | 8,154 | 6,897 | 15,051 | 8,154 | 6,897 | 15,051 | |||
LaGuardia | 10,671 | 8,629 | 19,300 | 10,671 | 8,629 | 19,300 | |||
Queensborough | 9,232 | 6,179 | 15,411 | 9,232 | 6,179 | 15,411 | |||
TOTAL COMMUNITY COLLEGES | 57,804 | 37,269 | 95,073 | 57,804 | 37,269 | 95,073 | |||
TOTAL UNIVERSITY | 165,205 | 79,746 | 244,951 | 8,806 | 21,149 | 29,955 | 174,011 | 100,895 | 274,906 |
kableExtra with advanced styling part 2
Total Enrollment by Undergraduate and Graduate Level, Full-time/Part-time Attendance, and College - Fall 2018
College | Full-time | Part-time | Total | Full-time | Part-time | Total | Full-time | Part-time | Total |
---|---|---|---|---|---|---|---|---|---|
Baruch | 11,495 | 3,529 | 15,024 | 566 | 2,439 | 3,005 | 12,061 | 5,968 | 18,029 |
Brooklyn | 11,142 | 3,836 | 14,978 | 595 | 2,588 | 3,183 | 11,737 | 6,424 | 18,161 |
City | 10,248 | 2,938 | 13,186 | 503 | 2,058 | 2,561 | 10,751 | 4,996 | 15,747 |
Hunter | 13,111 | 4,101 | 17,212 | 1,524 | 4,466 | 5,990 | 14,635 | 8,567 | 23,202 |
John Jay | 10,740 | 2,579 | 13,319 | 388 | 1,687 | 2,075 | 11,128 | 4,266 | 15,394 |
Lehman | 7,794 | 4,845 | 12,639 | 214 | 1,934 | 2,148 | 8,008 | 6,779 | 14,787 |
Medgar Evers | 4,705 | 1,933 | 6,638 | 4,705 | 1,933 | 6,638 | |||
NYCCT | 10,902 | 6,367 | 17,269 | 10,902 | 6,367 | 17,269 | |||
Queens | 12,201 | 4,419 | 16,620 | 430 | 2,696 | 3,126 | 12,631 | 7,115 | 19,746 |
Staten Island | 9,567 | 2,644 | 12,211 | 226 | 810 | 1,036 | 9,793 | 3,454 | 13,247 |
York | 5,085 | 3,410 | 8,495 | 147 | 51 | 198 | 5,232 | 3,461 | 8,693 |
Graduate School | 3,139 | 468 | 3,607 | 3,139 | 468 | 3,607 | |||
Journalism | 225 | 5 | 230 | 225 | 5 | 230 | |||
Professional Studies | 401 | 1,710 | 2,111 | 19 | 1,075 | 1,094 | 420 | 2,785 | 3,205 |
Labor & Urban Studies | 10 | 166 | 176 | 12 | 222 | 234 | 22 | 388 | 410 |
Public Health | 163 | 426 | 589 | 163 | 426 | 589 | |||
Law School | 418 | 165 | 583 | 418 | 165 | 583 | |||
Medical School | 237 | 59 | 296 | 237 | 59 | 296 | |||
TOTAL SENIOR COLLEGES | 107,401 | 42,477 | 149,878 | 8,806 | 21,149 | 29,955 | 116,207 | 63,626 | 179,833 |
BMCC | 18,076 | 8,430 | 26,506 | 18,076 | 8,430 | 26,506 | |||
Bronx | 6,685 | 3,834 | 10,519 | 6,685 | 3,834 | 10,519 | |||
Guttman | 848 | 107 | 955 | 848 | 107 | 955 | |||
Hostos | 4,138 | 3,193 | 7,331 | 4,138 | 3,193 | 7,331 | |||
Kingsborough | 8,154 | 6,897 | 15,051 | 8,154 | 6,897 | 15,051 | |||
LaGuardia | 10,671 | 8,629 | 19,300 | 10,671 | 8,629 | 19,300 | |||
Queensborough | 9,232 | 6,179 | 15,411 | 9,232 | 6,179 | 15,411 | |||
TOTAL COMMUNITY COLLEGES | 57,804 | 37,269 | 95,073 | 57,804 | 37,269 | 95,073 | |||
TOTAL UNIVERSITY | 165,205 | 79,746 | 244,951 | 8,806 | 21,149 | 29,955 | 174,011 | 100,895 | 274,906 |
DT
DT with double header
No Bootstrap theme is used here.
Double header doesn’t download properly with the excel, pdf etc… buttons.
Problem is that the reason that these columns are formatted so nicely and evenly-spaced is because the header labels are shorter and so the columns do not have to be expanded to fit the text. If we want shorter header names we may have to make more tables with less columns.
There’s also no way that I have found so far to format the total rows to be a different color to separate them out from the colleges, so we may want to remove the total and subtotal rows.
htmlTable
College | Undergraduate Full-time | Undergraduate Part-time | Undergraduate Total | Graduate Full-time | Graduate Part-time | Graduate Total | Total Full-time | Total Part-time | Total |
---|---|---|---|---|---|---|---|---|---|
Senior Colleges | |||||||||
Baruch | 11495 | 3529 | 15024 | 566 | 2439 | 3005 | 12061 | 5968 | 18029 |
Brooklyn | 11142 | 3836 | 14978 | 595 | 2588 | 3183 | 11737 | 6424 | 18161 |
City | 10248 | 2938 | 13186 | 503 | 2058 | 2561 | 10751 | 4996 | 15747 |
Hunter | 13111 | 4101 | 17212 | 1524 | 4466 | 5990 | 14635 | 8567 | 23202 |
John Jay | 10740 | 2579 | 13319 | 388 | 1687 | 2075 | 11128 | 4266 | 15394 |
Lehman | 7794 | 4845 | 12639 | 214 | 1934 | 2148 | 8008 | 6779 | 14787 |
Medgar Evers | 4705 | 1933 | 6638 | 4705 | 1933 | 6638 | |||
NYCCT | 10902 | 6367 | 17269 | 10902 | 6367 | 17269 | |||
Queens | 12201 | 4419 | 16620 | 430 | 2696 | 3126 | 12631 | 7115 | 19746 |
Staten Island | 9567 | 2644 | 12211 | 226 | 810 | 1036 | 9793 | 3454 | 13247 |
York | 5085 | 3410 | 8495 | 147 | 51 | 198 | 5232 | 3461 | 8693 |
Graduate School | 3139 | 468 | 3607 | 3139 | 468 | 3607 | |||
Journalism | 225 | 5 | 230 | 225 | 5 | 230 | |||
Professional Studies | 401 | 1710 | 2111 | 19 | 1075 | 1094 | 420 | 2785 | 3205 |
Labor & Urban Studies | 10 | 166 | 176 | 12 | 222 | 234 | 22 | 388 | 410 |
Public Health | 163 | 426 | 589 | 163 | 426 | 589 | |||
Law School | 418 | 165 | 583 | 418 | 165 | 583 | |||
Medical School | 237 | 59 | 296 | 237 | 59 | 296 | |||
TOTAL SENIOR COLLEGES | 107401 | 42477 | 149878 | 8806 | 21149 | 29955 | 116207 | 63626 | 179833 |
Community Colleges | |||||||||
BMCC | 18076 | 8430 | 26506 | 18076 | 8430 | 26506 | |||
Bronx | 6685 | 3834 | 10519 | 6685 | 3834 | 10519 | |||
Guttman | 848 | 107 | 955 | 848 | 107 | 955 | |||
Hostos | 4138 | 3193 | 7331 | 4138 | 3193 | 7331 | |||
Kingsborough | 8154 | 6897 | 15051 | 8154 | 6897 | 15051 | |||
LaGuardia | 10671 | 8629 | 19300 | 10671 | 8629 | 19300 | |||
Queensborough | 9232 | 6179 | 15411 | 9232 | 6179 | 15411 | |||
TOTAL COMMUNITY COLLEGES | 57804 | 37269 | 95073 | 57804 | 37269 | 95073 | |||
Grand Total | |||||||||
TOTAL UNIVERSITY | 165205 | 79746 | 244951 | 8806 | 21149 | 29955 | 174011 | 100895 | 274906 |