Difference between revisions of "NASAT results by state"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "{|class="wikitable sortable" style=text-align:center !width=200|State !data-sort-type="number" width=50|2010 !data-sort-type="number" width=50|2011 !data-sort-type="number" wi...") |
Kevin Wang (talk | contribs) |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | { | + | This page is not intended to be used directly, but rather transcluded. For its main usage, see the [[NASAT]] page. |
| − | + | ||
| − | ! | + | {{NASAT results by state by year nav}} |
| − | ! | + | <!-- |
| − | ! | + | |
| − | ! | + | Hello - welcome to the monstrosity that is this page. |
| − | ! | + | |
| − | ! | + | This table is constructed from the "NASAT results by state by year" page for every instance of NASAT. |
| − | ! | + | Those pages contain raw data in the form of a comma-delimited list of "state=placement" pairs. |
| − | ! | + | |
| − | + | This table is assembled by transforming those pairs to have information about the year to distinguish each set from one another. | |
| − | !data-sort-type=" | + | |
| − | ! | + | --><onlyinclude><!-- |
| − | ! | + | |
| − | ! | + | Process the data from each year. |
| − | ! | + | |
| − | ! | + | "i" - [2010 ... current year] / {2020} |
| + | -->{{#loop:i|2010|{{#expr:{{CURRENTYEAR}}-2009}}|{{#ifexpr:{{#var:i}}=2020| <!-- | ||
| + | "k" - [1 ... # of states in $i NASAT] | ||
| + | -->|{{#vardefine:k|0}}{{#while:<!-- | ||
| + | "year_raw" - "Alaska=3,Alabama=2, etc." | ||
| + | --><!---->|{{#vardefine:year_raw|{{:NASAT results by state by year/{{#var:i}}}}}}<!-- | ||
| + | --><!---->{{#explode:{{#var:year_raw}}|,|{{#var:k}}}}<!-- | ||
| + | "year_raw_state_placement" - "Alaska=3" | ||
| + | --><!---->|{{#vardefine:year_raw_state_placement|{{#explode:{{#var:year_raw}}|,|{{#var:k}}}}}}<!-- | ||
| + | "year_raw_state" - "Alaska" | ||
| + | --><!---->{{#vardefine:year_raw_state|{{#explode:{{#var:year_raw_state_placement}}|=|0}}}}<!-- | ||
| + | "year_raw_placement" - "3" | ||
| + | --><!---->{{#vardefine:year_raw_placement|{{#explode:{{#var:year_raw_state_placement}}|=|1}}}}<!-- | ||
| + | "Alaska" - "2010=4,2011=7,2012=10, etc." | ||
| + | --><!---->{{#if:{{#var:{{#var:year_raw_state}}}}<!-- | ||
| + | --><!----><!---->|{{#vardefine:{{#var:year_raw_state}}|{{#var:{{#var:year_raw_state}}}},{{#var:i}}={{#var:year_raw_placement}}}}<!-- | ||
| + | --><!----><!---->|{{#vardefine:{{#var:year_raw_state}}|{{#var:i}}={{#var:year_raw_placement}}}} <!-- | ||
| + | --><!---->}}<!-- | ||
| + | k = k+1 | ||
| + | --><!---->{{#vardefine:k|{{#expr:{{#var:k}}+1}}}}<!-- | ||
| + | -->}} | ||
| + | }}}}{| class="wikitable sortable" style="text-align:center" | ||
| + | ! State {{#loop:j|2010|{{#expr:{{CURRENTYEAR}}-2009}}|{{#ifexpr:{{#var:j}}=2020|| | ||
| + | !! data-sort-type="number" {{!}} {{#var:j}} | ||
| + | }}}} | ||
| + | ! Played | ||
| + | ! Wins | ||
| + | ! Top 2's | ||
| + | ! Top 3's | ||
| + | ! Top 4's | ||
|- | |- | ||
| − | | | + | {{#loop:l|0|51|{{!-}} |
| − | + | <!-- | |
| − | + | "row_state" - "District of Columbia" | |
| − | + | -->{{#vardefine:row_state|{{All states and DC|{{#var:l}}}}}}<!-- | |
| − | + | -->{{#vardefine:n|0}}<!-- | |
| − | + | -->{{#vardefine:top_count|0}}<!-- | |
| − | + | -->{{#vardefine:top_2_count|0}}<!-- | |
| − | + | -->{{#vardefine:top_3_count|0}}<!-- | |
| − | + | -->{{#vardefine:top_4_count|0}}<!-- | |
| − | + | -->{{#while:<!-- | |
| − | + | "District of Columbia" - "2012=3,2019=17, etc." | |
| − | + | --><!---->|{{#explode:{{#var:{{#var:row_state}}}}|,|{{#var:n}}}}<!-- | |
| − | + | "row_year_placement" = "2012=3" | |
| − | + | --><!---->|{{#vardefine:row_year_placement|{{#explode:{{#var:{{#var:row_state}}}}|,|{{#var:n}}}}}} <!-- | |
| − | + | "row_placement" = "3" | |
| − | + | --><!---->{{#vardefine:row_placement|{{#explode:{{#var:row_year_placement}}|=|1}}}} <!-- | |
| − | + | "District of Columbia_2012" = "3" | |
| − | + | --><!---->{{#vardefine:{{#var:row_state}}_{{#explode:{{#var:row_year_placement}}|=|0}}|{{#var:row_placement}}}}<!-- | |
| − | + | Tick up "top_count", "top_2_count", etc. based on whether the placement is 1st, at least 3rd, etc. | |
| − | + | --><!---->{{#ifexpr:{{#var:row_placement}}<5<!-- | |
| − | + | --><!----><!---->|{{#vardefine:top_4_count|{{#expr:{{#var:top_4_count}}+1}}}}<!-- | |
| − | + | --><!----><!---->{{#ifexpr:{{#var:row_placement}}<4<!-- | |
| − | + | --><!----><!----><!---->|{{#vardefine:top_3_count|{{#expr:{{#var:top_3_count}}+1}}}}<!-- | |
| − | + | --><!----><!----><!---->{{#ifexpr:{{#var:row_placement}}<3<!-- | |
| − | + | --><!----><!----><!----><!---->|{{#vardefine:top_2_count|{{#expr:{{#var:top_2_count}}+1}}}}<!-- | |
| − | + | --><!----><!----><!----><!---->{{#ifexpr:{{#var:row_placement}}<2<!-- | |
| − | + | --><!----><!----><!----><!----><!---->|{{#vardefine:top_count|{{#expr:{{#var:top_count}}+1}}}}<!-- | |
| − | + | --><!----><!----><!----><!---->}}<!-- | |
| − | + | --><!----><!----><!---->}}<!-- | |
| − | + | --><!----><!---->}}<!-- | |
| − | + | --><!---->}}<!-- | |
| − | + | n = n+1 | |
| − | + | --><!---->{{#vardefine:n|{{#expr:{{#var:n}}+1}}}}<!-- | |
| − | + | -->}}<!-- | |
| − | + | -->{{#ifexpr:{{#var:n}}>0<!-- | |
| − | + | --><!---->|{{!}}{{#var:row_state}}<!-- | |
| − | + | --><!---->{{#loop:m|2010|{{#expr:{{CURRENTYEAR}}-2009}}|{{#ifexpr:{{#var:m}}=2020|<!-- | |
| − | + | --><!----><!---->|<!-- | |
| − | + | --><!----><!---->{{#if:{{#var:{{#var:row_state}}_{{#var:m}}}}<!-- | |
| − | + | --><!----><!----><!---->|{{!}}{{Placement cell|{{#var:{{#var:row_state}}_{{#var:m}}}}}} <!-- | |
| − | + | --><!----><!----><!---->|{{!!}}data-sort-value="100"{{!}}<nowiki> </nowiki><!-- | |
| − | + | --><!----><!---->}}<!-- | |
| − | + | --><!---->}}}}<!-- | |
| − | + | --><!---->{{!!}} bgcolor={{Hex interpolate|90e077|fraction={{#expr:{{#var:n}}/({{CURRENTYEAR}}-2009)}}}} {{!}} {{#var:n}} <!-- | |
| − | + | --><!---->{{!!}} {{#ifexpr:{{#var:top_count}}|bgcolor="gold" {{!}} {{Non-zero number|{{#var:top_count}}}}}} <!-- | |
| − | + | --><!---->{{!!}} {{#ifexpr:{{#var:top_2_count}}|bgcolor="silver" {{!}} {{Non-zero number|{{#var:top_2_count}}}}}} <!-- | |
| − | + | --><!---->{{!!}} {{#ifexpr:{{#var:top_3_count}}|bgcolor="#c96" {{!}} {{Non-zero number|{{#var:top_3_count}}}}}} <!-- | |
| − | + | --><!---->{{!!}} {{Non-zero number|{{#var:top_4_count}}}}<!-- | |
| − | + | -->}} | |
| − | + | {{!-}} | |
| − | + | }} | |
| − | + | |}</onlyinclude> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |} | ||
Latest revision as of 09:06, 21 July 2022
This page is not intended to be used directly, but rather transcluded. For its main usage, see the NASAT page.
NASAT results by state by year
2010 · 2011 · 2012 · 2013 · 2014 · 2015 · 2016 · 2017 · 2018 · 2019 · 2020 · 2021 · 2022 · 2023 · 2024 · 2025 · All
| State | 2010 | 2011 | 2012 | 2013 | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2021 | 2022 | 2023 | 2024 | 2025 | Played | Wins | Top 2's | Top 3's | Top 4's |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Alabama | 12 | 14 | 2 | |||||||||||||||||
| Arizona | 13 | 1 | ||||||||||||||||||
| Arkansas | 14 | 1 | ||||||||||||||||||
| California | 7 | 4 | 1 | 3 | 3 | 1 | 2 | 4 | 4 | 10 | 7 | 9 | 2 | 13 | 2 | 4 | 6 | 9 | ||
| Connecticut | 23 | 21 | 10 | 3 | ||||||||||||||||
| Delaware | 15 | 6 | 2 | |||||||||||||||||
| District of Columbia | 6 | 7 | 4 | 3 | 1 | |||||||||||||||
| Florida | 9 | 22 | 9 | 3 | ||||||||||||||||
| Georgia | 5 | 4 | 11 | 13 | 11 | 4 | 5 | 22 | 2 | 6 | 10 | 1 | 1 | 3 | ||||||
| Illinois | 3 | 2 | 2 | 6 | 2 | 3 | 1 | 1 | 1 | 1 | 1 | 2 | 1 | 3 | 1 | 15 | 7 | 11 | 14 | 14 |
| Indiana | 13 | 12 | 12 | 22 | 11 | 7 | 6 | |||||||||||||
| Iowa | 22 | 27 | 21 | 3 | ||||||||||||||||
| Kentucky | 10 | 8 | 11 | 7 | 11 | 8 | 9 | 21 | 20 | 8 | 10 | 15 | 9 | 4 | 13 | 15 | 1 | |||
| Maryland | 6 | 5 | 6 | 11 | 8 | 6 | 13 | 4 | 7 | 2 | 2 | 11 | 2 | 2 | 3 | |||||
| Massachusetts | 16 | 1 | ||||||||||||||||||
| Michigan | 5 | 17 | 4 | 13 | 18 | 16 | 7 | 7 | 1 | |||||||||||
| Minnesota | 12 | 13 | 5 | 13 | 15 | 5 | ||||||||||||||
| Missouri | 12 | 9 | 6 | 1 | 8 | 10 | 9 | 6 | 6 | 15 | 8 | 3 | 7 | 1 | 3 | 15 | 2 | 2 | 4 | 4 |
| Nevada | 17 | 27 | 2 | |||||||||||||||||
| New Hampshire | 15 | 1 | ||||||||||||||||||
| New Jersey | 10 | 8 | 10 | 4 | 5 | 16 | 4 | 6 | 1 | 5 | 10 | 1 | 1 | 1 | 3 | |||||
| New York | 9 | 3 | 9 | 14 | 6 | 2 | 10 | 7 | 1 | 2 | 2 | |||||||||
| North Carolina | 7 | 15 | 13 | 5 | 4 | |||||||||||||||
| Ohio | 8 | 3 | 9 | 4 | 7 | 7 | 3 | 7 | 3 | 2 | 3 | 10 | 12 | 1 | 5 | 6 | ||||
| Oklahoma | 14 | 12 | 19 | 31 | 6 | 5 | ||||||||||||||
| Pennsylvania | 1 | 9 | 5 | 9 | 5 | 12 | 6 | 13 | 5 | 9 | 1 | 1 | 1 | 1 | ||||||
| South Carolina | 2 | 12 | 2 | 1 | 1 | 1 | ||||||||||||||
| Tennessee | 11 | 10 | 6 | 7 | 4 | |||||||||||||||
| Texas | 5 | 1 | 5 | 2 | 1 | 3 | 3 | 4 | 8 | 2 | 3 | 5 | 6 | |||||||
| Vermont | 16 | 1 | ||||||||||||||||||
| Virginia | 4 | 10 | 8 | 6 | 2 | 8 | 2 | 7 | 11 | 8 | 8 | 11 | 2 | 2 | 3 |