Fair Market Rents (FMRs) are primarily used to determine payment standard amounts for the Housing

Choice Voucher program, to determine initial renewal rents for some expiring project-based Section8

contracts, to determine initial rents for housing assistance payment (HAP) contracts in the

Moderate Rehabilitation Single Room Occupancy program (Mod Rehab), and to serve as a rent ceiling

in the HOME rental assistance program. The U.S. Department of Housing and Urban Development (HUD)

annually estimates FMRs for 530 metropolitan areas and 2,045 nonmetropolitan county FMR areas.

By law the final FMRs for use in any fiscal year must be published and available for use at the start

of that fiscal year, on October 1.

require(ggplot2)
## Loading required package: ggplot2
library(maps)
data(county.fips)
require(mapproj)
## Loading required package: mapproj

1. Choose and load any R dataset (except for diamonds!) that has at least two numeric

variables and at least two categorical variables. Identify which variables in your data

set are numeric, and which are categorical (factors).

## 'data.frame':    4769 obs. of  12 variables:
##  $ fips2000   : num  1.00e+08 1.00e+08 1.01e+08 1.01e+08 1.01e+08 ...
##  $ fips2010   : num  1001 1003 1005 1007 1009 ...
##  $ fmr0bedroom: num  628 494 492 545 545 481 453 491 511 481 ...
##  $ fmr1bedroom: num  663 643 495 652 652 505 456 513 514 500 ...
##  $ fmr2bedroom: num  788 762 670 773 773 599 599 675 696 599 ...
##  $ fmr3bedroom: num  1084 1123 834 1015 1015 ...
##  $ fmr4bedroom: num  1288 1318 895 1142 1142 ...
##  $ pop2010    : int  54571 182265 27457 22915 57322 10914 20947 118572 34215 25989 ...
##  $ Areaname   : Factor w/ 2572 levels "Abbeville County, SC",..: 1623 112 122 186 186 262 270 62 349 370 ...
##  $ county     : Factor w/ 1962 levels "Abbeville ","Acadia Parish",..: 91 98 109 162 177 238 248 263 317 339 ...
##  $ state      : Factor w/ 54 levels "AK","AL","AR",..: 2 2 2 2 2 2 2 2 2 2 ...
##  $ county.1   : Factor w/ 1962 levels "Abbeville ","Acadia Parish",..: 91 98 109 162 177 238 248 263 317 339 ...
##    fips2000 fips2010 fmr0bedroom fmr1bedroom fmr2bedroom fmr3bedroom
## 1 100199999     1001         628         663         788        1084
## 2 100399999     1003         494         643         762        1123
## 3 100599999     1005         492         495         670         834
## 4 100799999     1007         545         652         773        1015
## 5 100999999     1009         545         652         773        1015
## 6 101199999     1011         481         505         599         791
##   fmr4bedroom pop2010                                 Areaname   county
## 1        1288   54571                       Montgomery, AL MSA Autauga 
## 2        1318  182265                       Baldwin County, AL Baldwin 
## 3         895   27457                       Barbour County, AL Barbour 
## 4        1142   22915 Birmingham-Hoover, AL HUD Metro FMR Area    Bibb 
## 5        1142   57322 Birmingham-Hoover, AL HUD Metro FMR Area  Blount 
## 6        1061   10914                       Bullock County, AL Bullock 
##   state county.1
## 1    AL Autauga 
## 2    AL Baldwin 
## 3    AL Barbour 
## 4    AL    Bibb 
## 5    AL  Blount 
## 6    AL Bullock

2. Generate summary level descriptive statistics: Show the mean, median, 25th and 75th

quartiles, min, and max for each of the applicable variables in your data set

summary(mydata)
##     fips2000            fips2010          fmr0bedroom      fmr1bedroom    
##  Min.   :1.002e+08   Min.   :1.001e+03   Min.   : 314.0   Min.   : 327.0  
##  1st Qu.:2.108e+09   1st Qu.:2.405e+04   1st Qu.: 453.0   1st Qu.: 502.0  
##  Median :2.711e+09   Median :4.701e+04   Median : 518.0   Median : 572.0  
##  Mean   :3.044e+09   Mean   :9.570e+08   Mean   : 568.8   Mean   : 639.4  
##  3rd Qu.:4.213e+09   3rd Qu.:2.302e+09   3rd Qu.: 646.0   3rd Qu.: 735.0  
##  Max.   :7.803e+09   Max.   :5.003e+09   Max.   :1291.0   Max.   :1635.0  
##  NA's   :1                                                                
##   fmr2bedroom      fmr3bedroom    fmr4bedroom      pop2010       
##  Min.   : 405.0   Min.   : 519   Min.   : 570   Min.   :      0  
##  1st Qu.: 643.0   1st Qu.: 860   1st Qu.: 951   1st Qu.:   4017  
##  Median : 715.0   Median : 955   Median :1124   Median :  15034  
##  Mean   : 806.6   Mean   :1065   Mean   :1213   Mean   :  65627  
##  3rd Qu.: 924.0   3rd Qu.:1199   3rd Qu.:1407   3rd Qu.:  41440  
##  Max.   :2062.0   Max.   :2801   Max.   :3386   Max.   :9818605  
##                                                 NA's   :2        
##                                                         Areaname   
##  Boston-Cambridge-Quincy, MA-NH HUD Metro FMR Area          : 114  
##  Aroostook County, ME                                       :  73  
##  Penobscot County, ME (part) HUD Metro FMR Area             :  53  
##  Hartford-West Hartford-East Hartford, CT HUD Metro FMR Area:  51  
##  Washington County, ME                                      :  49  
##  Springfield, MA HUD Metro FMR Area                         :  44  
##  (Other)                                                    :4385  
##          county         state             county.1   
##  Washington : 105   ME     : 535   Washington : 105  
##  Franklin   :  89   MA     : 351   Franklin   :  89  
##  Aroostook  :  73   NH     : 259   Aroostook  :  73  
##  Middlesex  :  71   VT     : 255   Middlesex  :  71  
##  Penobscot  :  67   TX     : 254   Penobscot  :  67  
##  Worcester  :  61   CT     : 169   Worcester  :  61  
##  (Other)    :4303   (Other):2946   (Other)    :4303

3. Determine the frequency for one of the categorical variables.

table(mydata$state)
## 
##  AK  AL  AR  AZ  CA  CO  CT  DC  DE  FL  GA  GU  HI  IA  ID  IL  IN  KS 
##  29  67  75  15  58  64 169   1   3  67 159   1   5  99  44 102  92 105 
##  KY  LA  MA  MD  ME  MI  MN  MO  MS  MT  NC  ND  NE  NH  NJ  NM  NV  NY 
## 120  64 351  25 535  83  87 116  82  56 100  53  93 259  21  33  17  62 
##  OH  OK  OR  PA  PR  RI  SC  SD  TN  TX  UT  VA  VI  VT  WA  WI  WV  WY 
##  88  77  36  67  78  39  46  66  95 254  29 135   3 255  39  72  55  23

4. Determine the frequency for one of the categorical variables, by a different

categorical variable.

s1<-factor(mydata$state, levels=c("NY"))

# table(s1, mydata$county, exclude = NA)
print(table(s1, mydata$county, exclude = NA))
##     
## s1   Abbeville  Acadia Parish Accomack  Ada  Adair  Adams  Addison 
##   NY          0             0         0    0      0      0        0
##     
## s1   Adjuntas Municipio Aguada Municipio Aguadilla Municipio
##   NY                  0                0                   0
##     
## s1   Aguas Buenas Municipio Aibonito Municipio Aiken  Aitkin  Alachua 
##   NY                      0                  0      0       0        0
##     
## s1   Alamance  Alameda  Alamosa  Albany  Albemarle  Alcona  Alcorn 
##   NY         0        0        0       1          0       0       0
##     
## s1   Aleutians East Borough Aleutians West Census Area Alexander 
##   NY                      0                          0          0
##     
## s1   Alexandria city Alfalfa  Alger  Allamakee  Allegan  Allegany 
##   NY               0        0      0          0        0         1
##     
## s1   Alleghany  Allegheny  Allen  Allen Parish Allendale  Alpena  Alpine 
##   NY          0          0      0            0          0       0       0
##     
## s1   Amador  Amelia  Amherst  Amite  Añasco Municipio
##   NY       0       0        0      0                0
##     
## s1   Anchorage Municipality Anderson  Andrew  Andrews  Androscoggin 
##   NY                      0         0       0        0             0
##     
## s1   Angelina  Anne Arundel  Anoka  Anson  Antelope  Antrim  Apache 
##   NY         0             0      0      0         0       0       0
##     
## s1   Appanoose  Appling  Appomattox  Aransas  Arapahoe  Archer  Archuleta 
##   NY          0        0           0        0         0       0          0
##     
## s1   Arecibo Municipio Arenac  Arkansas  Arlington  Armstrong  Aroostook 
##   NY                 0       0         0          0          0          0
##     
## s1   Arroyo Municipio Arthur  Ascension Parish Ashe  Ashland  Ashley 
##   NY                0       0                0     0        0       0
##     
## s1   Ashtabula  Asotin  Assumption Parish Atascosa  Atchison  Athens 
##   NY          0       0                 0         0         0       0
##     
## s1   Atkinson  Atlantic  Atoka  Attala  Audrain  Audubon  Auglaize 
##   NY         0         0      0       0        0        0         0
##     
## s1   Augusta  Aurora  Austin  Autauga  Avery  Avoyelles Parish Baca 
##   NY        0       0       0        0      0                0     0
##     
## s1   Bacon  Bailey  Baker  Baldwin  Ballard  Baltimore  Baltimore city
##   NY      0       0      0        0        0          0              0
##     
## s1   Bamberg  Bandera  Banks  Banner  Bannock  Baraga  Barber  Barbour 
##   NY        0        0      0       0        0       0       0        0
##     
## s1   Barceloneta Municipio Barnes  Barnstable  Barnwell 
##   NY                     0       0           0         0
##     
## s1   Barranquitas Municipio Barren  Barron  Barrow  Barry  Bartholomew 
##   NY                      0       0       0       0      0            0
##     
## s1   Barton  Bartow  Bastrop  Bates  Bath  Baxter  Bay  Bayamón Municipio
##   NY       0       0        0      0     0       0    0                 0
##     
## s1   Bayfield  Baylor  Beadle  Bear Lake  Beaufort  Beauregard Parish
##   NY         0       0       0          0         0                 0
##     
## s1   Beaver  Beaverhead  Becker  Beckham  Bedford  Bedford city Bee 
##   NY       0           0       0        0        0            0    0
##     
## s1   Belknap  Bell  Belmont  Beltrami  Ben Hill  Benewah  Bennett 
##   NY        0     0        0         0         0        0        0
##     
## s1   Bennington  Benson  Bent  Benton  Benzie  Bergen  Berkeley  Berks 
##   NY           0       0     0       0       0       0         0      0
##     
## s1   Berkshire  Bernalillo  Berrien  Bertie  Bethel Census Area Bexar 
##   NY          0           0        0       0                  0      0
##     
## s1   Bibb  Bienville Parish Big Horn  Big Stone  Billings  Bingham 
##   NY     0                0         0          0         0        0
##     
## s1   Black Hawk  Blackford  Bladen  Blaine  Blair  Blanco  Bland 
##   NY           0          0       0       0      0       0      0
##     
## s1   Bleckley  Bledsoe  Blount  Blue Earth  Boise  Bolivar  Bollinger 
##   NY         0        0       0           0      0        0          0
##     
## s1   Bon Homme  Bond  Bonner  Bonneville  Boone  Borden  Bosque 
##   NY          0     0       0           0      0       0       0
##     
## s1   Bossier Parish Botetourt  Bottineau  Boulder  Boundary  Bourbon 
##   NY              0          0          0        0         0        0
##     
## s1   Bowie  Bowman  Box Butte  Box Elder  Boyd  Boyle  Bracken  Bradford 
##   NY      0       0          0          0     0      0        0         0
##     
## s1   Bradley  Branch  Brantley  Braxton  Brazoria  Brazos  Breathitt 
##   NY        0       0         0        0         0       0          0
##     
## s1   Breckinridge  Bremer  Brevard  Brewster  Briscoe  Bristol 
##   NY             0       0        0         0        0        0
##     
## s1   Bristol Bay Borough Bristol city Broadwater  Bronx  Brooke 
##   NY                   0            0           0      1       0
##     
## s1   Brookings  Brooks  Broome  Broomfield  Broward  Brown  Brule 
##   NY          0       0       1           0        0      0      0
##     
## s1   Brunswick  Bryan  Buchanan  Buckingham  Bucks  Buena Vista 
##   NY          0      0         0           0      0            0
##     
## s1   Buena Vista city Buffalo  Bullitt  Bulloch  Bullock  Buncombe 
##   NY                0        0        0        0        0         0
##     
## s1   Bureau  Burke  Burleigh  Burleson  Burlington  Burnet  Burnett  Burt 
##   NY       0      0         0         0           0       0        0     0
##     
## s1   Butler  Butte  Butts  Cabarrus  Cabell  Cabo Rojo Municipio Cache 
##   NY       0      0      0         0       0                   0      0
##     
## s1   Caddo  Caddo Parish Caguas Municipio Calaveras  Calcasieu Parish
##   NY      0            0                0          0                0
##     
## s1   Caldwell  Caldwell Parish Caledonia  Calhoun  Callahan  Callaway 
##   NY         0               0          0        0         0         0
##     
## s1   Calloway  Calumet  Calvert  Camas  Cambria  Camden  Cameron 
##   NY         0        0        0      0        0       0        0
##     
## s1   Cameron Parish Camp  Campbell  Camuy Municipio Canadian  Candler 
##   NY              0     0         0               0         0        0
##     
## s1   Cannon  Canóvanas Municipio Canyon  Cape Girardeau  Cape May  Carbon 
##   NY       0                   0       0               0         0       0
##     
## s1   Caribou  Carlisle  Carlton  Carolina Municipio Caroline  Carroll 
##   NY        0         0        0                  0         0        0
##     
## s1   Carson  Carson City Carter  Carteret  Carver  Cascade  Casey  Cass 
##   NY       0           0       0         0       0        0      0     0
##     
## s1   Cassia  Castro  Caswell  Catahoula Parish Cataño Municipio Catawba 
##   NY       0       0        0                0                0        0
##     
## s1   Catoosa  Catron  Cattaraugus  Cavalier  Cayey Municipio Cayuga 
##   NY        0       0            1         0               0       1
##     
## s1   Cecil  Cedar  Ceiba Municipio Centre  Cerro Gordo  Chaffee  Chambers 
##   NY      0      0               0       0            0        0         0
##     
## s1   Champaign  Chariton  Charles  Charles City  Charles Mix  Charleston 
##   NY          0         0        0             0            0           0
##     
## s1   Charlevoix  Charlotte  Charlottesville city Charlton  Chase  Chatham 
##   NY           0          0                    0         0      0        0
##     
## s1   Chattahoochee  Chattooga  Chautauqua  Chaves  Cheatham  Cheboygan 
##   NY              0          0           1       0         0          0
##     
## s1   Chelan  Chemung  Chenango  Cherokee  Cherry  Chesapeake city
##   NY       0        1         1         0       0               0
##     
## s1   Cheshire  Chester  Chesterfield  Cheyenne  Chickasaw  Chicot 
##   NY         0        0             0         0          0       0
##     
## s1   Childress  Chilton  Chippewa  Chisago  Chittenden  Choctaw  Chouteau 
##   NY          0        0         0        0           0        0         0
##     
## s1   Chowan  Christian  Churchill  Ciales Municipio Cibola 
##   NY       0          0          0                0       0
##     
## s1   Cidra Municipio Cimarron  Citrus  Clackamas  Claiborne 
##   NY               0         0       0          0          0
##     
## s1   Claiborne Parish Clallam  Clare  Clarendon  Clarion  Clark  Clarke 
##   NY                0        0      0          0        0      0       0
##     
## s1   Clatsop  Clay  Clayton  Clear Creek  Clearfield  Clearwater 
##   NY        0     0        0            0           0           0
##     
## s1   Cleburne  Clermont  Cleveland  Clifton Forge city Clinch  Clinton 
##   NY         0         0          0                  0       0        1
##     
## s1   Cloud  Coahoma  Coal  Coamo Municipio Cobb  Cochise  Cochran  Cocke 
##   NY      0        0     0               0     0        0        0      0
##     
## s1   Coconino  Codington  Coffee  Coffey  Coke  Colbert  Cole  Coleman 
##   NY         0          0       0       0     0        0     0        0
##     
## s1   Coles  Colfax  Colleton  Collier  Collin  Collingsworth 
##   NY      0       0         0        0       0              0
##     
## s1   Colonial Heights city Colorado  Colquitt  Columbia  Columbia city
##   NY                     0         0         0         1             0
##     
## s1   Columbiana  Columbus  Colusa  Comal  Comanche  Comerío Municipio
##   NY           0         0       0      0         0                 0
##     
## s1   Concho  Concordia Parish Conecuh  Conejos  Contra Costa  Converse 
##   NY       0                0        0        0             0         0
##     
## s1   Conway  Cook  Cooke  Cooper  Coos  Coosa  Copiah  Corozal Municipio
##   NY       0     0      0       0     0      0       0                 0
##     
## s1   Corson  Cortland  Coryell  Coshocton  Costilla  Cottle  Cotton 
##   NY       0         1        0          0         0       0       0
##     
## s1   Cottonwood  Covington  Covington city Coweta  Cowley  Cowlitz  Craig 
##   NY           0          0              0       0       0        0      0
##     
## s1   Craighead  Crane  Craven  Crawford  Creek  Crenshaw  Crisp 
##   NY          0      0       0         0      0         0      0
##     
## s1   Crittenden  Crockett  Crook  Crosby  Cross  Crow Wing  Crowley 
##   NY           0         0      0       0      0          0        0
##     
## s1   Culberson  Culebra Municipio Cullman  Culpeper  Cumberland  Cuming 
##   NY          0                 0        0         0           0       0
##     
## s1   Currituck  Curry  Custer  Cuyahoga  Dade  Daggett  Dakota  Dale 
##   NY          0      0       0         0     0        0       0     0
##     
## s1   Dallam  Dallas  Dane  Daniels  Danville city Dare  Darke  Darlington 
##   NY       0       0     0        0             0     0      0           0
##     
## s1   Dauphin  Davidson  Davie  Daviess  Davis  Davison  Dawes  Dawson 
##   NY        0         0      0        0      0        0      0       0
##     
## s1   Day  De Baca  De Soto Parish De Witt  Deaf Smith  Dearborn  Decatur 
##   NY    0        0              0        0           0         0        0
##     
## s1   Deer Lodge  Defiance  DeKalb  Del Norte  Delaware  Delta 
##   NY           0         0       0          0         1      0
##     
## s1   Denali Borough Dent  Denton  Denver  Des Moines  Deschutes  Desha 
##   NY              0     0       0       0           0          0      0
##     
## s1   DeSoto  Deuel  Dewey  DeWitt  Dickens  Dickenson  Dickey  Dickinson 
##   NY       0      0      0       0        0          0       0          0
##     
## s1   Dickson  Dillingham Census Area Dillon  Dimmit  Dinwiddie 
##   NY        0                      0       0       0          0
##     
## s1   District of Columbia Divide  Dixie  Dixon  Doddridge  Dodge  Dolores 
##   NY                    0       0      0      0          0      0        0
##     
## s1   Dona Ana  Doniphan  Donley  Dooly  Door  Dorado Municipio Dorchester 
##   NY         0         0       0      0     0                0           0
##     
## s1   Dougherty  Douglas  Drew  Dubois  Dubuque  Duchesne  Dukes  Dundy 
##   NY          0        0     0       0        0         0      0      0
##     
## s1   Dunklin  Dunn  DuPage  Duplin  Durham  Dutchess  Duval  Dyer  Eagle 
##   NY        0     0       0       0       0         1      0     0      0
##     
## s1   Early  East Baton Rouge Parish East Carroll Parish
##   NY      0                       0                   0
##     
## s1   East Feliciana Parish Eastland  Eaton  Eau Claire  Echols  Ector 
##   NY                     0         0      0           0       0      0
##     
## s1   Eddy  Edgar  Edgecombe  Edgefield  Edmonson  Edmunds  Edwards 
##   NY     0      0          0          0         0        0        0
##     
## s1   Effingham  El Dorado  El Paso  Elbert  Elk  Elkhart  Elko  Elliott 
##   NY          0          0        0       0    0        0     0        0
##     
## s1   Ellis  Ellsworth  Elmore  Emanuel  Emery  Emmet  Emmons  Emporia city
##   NY      0          0       0        0      0      0       0            0
##     
## s1   Erath  Erie  Escambia  Esmeralda  Essex  Estill  Etowah  Eureka 
##   NY      0     1         0          0      1       0       0       0
##     
## s1   Evangeline Parish Evans  Fairbanks North Star Borough Fairfax 
##   NY                 0      0                            0        0
##     
## s1   Fairfax city Fairfield  Fajardo Municipio Fall River  Fallon  Falls 
##   NY            0          0                 0           0       0      0
##     
## s1   Falls Church city Fannin  Faribault  Faulk  Faulkner  Fauquier 
##   NY                 0       0          0      0         0         0
##     
## s1   Fayette  Fentress  Fergus  Ferry  Fillmore  Finney  Fisher  Flagler 
##   NY        0         0       0      0         0       0       0        0
##     
## s1   Flathead  Fleming  Florence  Florida Municipio Floyd  Fluvanna 
##   NY         0        0         0                 0      0         0
##     
## s1   Foard  Fond du Lac  Ford  Forest  Forrest  Forsyth  Fort Bend 
##   NY      0            0     0       0        0        0          0
##     
## s1   Foster  Fountain  Franklin  Franklin city Franklin Parish Frederick 
##   NY       0         0         1             0               0          0
##     
## s1   Fredericksburg city Freeborn  Freestone  Fremont  Fresno  Frio 
##   NY                   0         0          0        0       0     0
##     
## s1   Frontier  Fulton  Furnas  Gadsden  Gage  Gaines  Galax city Gallatin 
##   NY         0       1       0        0     0       0          0         0
##     
## s1   Gallia  Galveston  Garden  Garfield  Garland  Garrard  Garrett 
##   NY       0          0       0         0        0        0        0
##     
## s1   Garvin  Garza  Gasconade  Gaston  Gates  Geary  Geauga  Gem  Genesee 
##   NY       0      0          0       0      0      0       0    0        1
##     
## s1   Geneva  Gentry  George  Georgetown  Gibson  Gila  Gilchrist  Giles 
##   NY       0       0       0           0       0     0          0      0
##     
## s1   Gillespie  Gilliam  Gilmer  Gilpin  Glacier  Glades  Gladwin 
##   NY          0        0       0       0        0       0        0
##     
## s1   Glascock  Glasscock  Glenn  Gloucester  Glynn  Gogebic 
##   NY         0          0      0           0      0        0
##     
## s1   Golden Valley  Goliad  Gonzales  Goochland  Goodhue  Gooding  Gordon 
##   NY              0       0         0          0        0        0       0
##     
## s1   Goshen  Gosper  Gove  Grady  Grafton  Graham  Grainger  Grand 
##   NY       0       0     0      0        0       0         0      0
##     
## s1   Grand Forks  Grand Isle  Grand Traverse  Granite  Grant  Grant Parish
##   NY            0           0               0        0      0            0
##     
## s1   Granville  Gratiot  Graves  Gray  Grays Harbor  Grayson  Greeley 
##   NY          0        0       0     0             0        0        0
##     
## s1   Green  Green Lake  Greenbrier  Greene  Greenlee  Greensville 
##   NY      0           0           0       1         0            0
##     
## s1   Greenup  Greenville  Greenwood  Greer  Gregg  Gregory  Grenada 
##   NY        0           0          0      0      0        0        0
##     
## s1   Griggs  Grimes  Grundy  Guadalupe  Guam Guánica Municipio
##   NY       0       0       0          0    0                 0
##     
## s1   Guayama Municipio Guayanilla Municipio Guaynabo Municipio Guernsey 
##   NY                 0                    0                  0         0
##     
## s1   Guilford  Gulf  Gunnison  Gurabo Municipio Guthrie  Gwinnett  Haakon 
##   NY         0     0         0                0        0         0       0
##     
## s1   Habersham  Haines Borough Hale  Halifax  Hall  Hamblen  Hamilton 
##   NY          0              0     0        0     0        0         1
##     
## s1   Hamlin  Hampden  Hampshire  Hampton  Hampton city Hancock  Hand 
##   NY       0        0          0        0            0        0     0
##     
## s1   Hanover  Hansford  Hanson  Haralson  Hardee  Hardeman  Hardin 
##   NY        0         0       0         0       0         0       0
##     
## s1   Harding  Hardy  Harford  Harlan  Harmon  Harnett  Harney  Harper 
##   NY        0      0        0       0       0        0       0       0
##     
## s1   Harris  Harrison  Harrisonburg city Hart  Hartford  Hartley  Harvey 
##   NY       0         0                 0     0         0        0       0
##     
## s1   Haskell  Hatillo Municipio Hawaii  Hawkins  Hayes  Hays  Haywood 
##   NY        0                 0       0        0      0     0        0
##     
## s1   Heard  Hemphill  Hempstead  Henderson  Hendricks  Hendry  Hennepin 
##   NY      0         0          0          0          0       0         0
##     
## s1   Henrico  Henry  Herkimer  Hernando  Hertford  Hettinger  Hickman 
##   NY        0      0         1         0         0          0        0
##     
## s1   Hickory  Hidalgo  Highland  Highlands  Hill  Hillsborough  Hillsdale 
##   NY        0        0         0          0     0             0          0
##     
## s1   Hinds  Hinsdale  Hitchcock  Hocking  Hockley  Hodgeman  Hoke  Holmes 
##   NY      0         0          0        0        0         0     0       0
##     
## s1   Holt  Honolulu  Hood  Hood River  Hooker  Hoonah-Angoon Census Area
##   NY     0         0     0           0       0                         0
##     
## s1   Hopewell city Hopkins  Hormigueros Municipio Horry  Hot Spring 
##   NY             0        0                     0      0           0
##     
## s1   Hot Springs  Houghton  Houston  Howard  Howard  (ex. Columbia City)
##   NY            0         0        0       0                           0
##     
## s1   Howell  Hubbard  Hudson  Hudspeth  Huerfano  Hughes 
##   NY       0        0       0         0         0       0
##     
## s1   Humacao Municipio Humboldt  Humphreys  Hunt  Hunterdon  Huntingdon 
##   NY                 0         0          0     0          0           0
##     
## s1   Huntington  Huron  Hutchinson  Hyde  Iberia Parish Iberville Parish
##   NY           0      0           0     0             0                0
##     
## s1   Ida  Idaho  Imperial  Independence  Indian River  Indiana  Ingham 
##   NY    0      0         0             0             0        0       0
##     
## s1   Inyo  Ionia  Iosco  Iowa  Iredell  Irion  Iron  Iroquois  Irwin 
##   NY     0      0      0     0        0      0     0         0      0
##     
## s1   Isabela Municipio Isabella  Isanti  Island  Isle of Wight  Issaquena 
##   NY                 0         0       0       0              0          0
##     
## s1   Itasca  Itawamba  Izard  Jack  Jackson  Jackson Parish James City 
##   NY       0         0      0     0        0              0           0
##     
## s1   Jasper  Jay  Jayuya Municipio Jeff Davis  Jefferson  Jefferson Davis 
##   NY       0    0                0           0          1                0
##     
## s1   Jefferson Davis Parish Jefferson Parish Jenkins  Jennings  Jerauld 
##   NY                      0                0        0         0        0
##     
## s1   Jerome  Jersey  Jessamine  Jewell  Jim Hogg  Jim Wells  Jo Daviess 
##   NY       0       0          0       0         0          0           0
##     
## s1   Johnson  Johnston  Jones  Josephine  Juab  Juana Díaz Municipio
##   NY        0         0      0          0     0                    0
##     
## s1   Judith Basin  Juncos Municipio Juneau  Juneau City and Borough
##   NY             0                0       0                       0
##     
## s1   Juniata  Kalamazoo  Kalawao  Kalkaska  Kanabec  Kanawha  Kandiyohi 
##   NY        0          0        0         0        0        0          0
##     
## s1   Kane  Kankakee  Karnes  Kauai  Kaufman  Kay  Kearney  Kearny  Keith 
##   NY     0         0       0      0        0    0        0       0      0
##     
## s1   Kemper  Kenai Peninsula Borough Kendall  Kenedy  Kennebec  Kenosha 
##   NY       0                       0        0       0         0        0
##     
## s1   Kent  Kenton  Keokuk  Kern  Kerr  Kershaw  Ketchikan Gateway Borough
##   NY     0       0       0     0     0        0                         0
##     
## s1   Kewaunee  Keweenaw  Keya Paha  Kidder  Kimball  Kimble  King 
##   NY         0         0          0       0        0       0     0
##     
## s1   King and Queen  King George  King William  Kingfisher  Kingman 
##   NY               0            0             0           0        0
##     
## s1   Kings  Kingsbury  Kinney  Kiowa  Kit Carson  Kitsap  Kittitas 
##   NY      1          0       0      0           0       0         0
##     
## s1   Kittson  Klamath  Kleberg  Klickitat  Knott  Knox 
##   NY        0        0        0          0      0     0
##     
## s1   Kodiak Island Borough Koochiching  Kootenai  Kosciusko  Kossuth 
##   NY                     0            0         0          0        0
##     
## s1   La Crosse  La Paz  La Plata  La Salle  La Salle Parish Labette 
##   NY          0       0         0         0               0        0
##     
## s1   Lac qui Parle  Lackawanna  Laclede  Lafayette  Lafayette Parish
##   NY              0           0        0          0                0
##     
## s1   Lafourche Parish LaGrange  Lajas Municipio Lake 
##   NY                0         0               0     0
##     
## s1   Lake and Peninsula Borough Lake of the Woods  Lamar  Lamb  Lamoille 
##   NY                          0                  0      0     0         0
##     
## s1   LaMoure  Lampasas  Lancaster  Lander  Lane  Langlade  Lanier  Lapeer 
##   NY        0         0          0       0     0         0       0       0
##     
## s1   LaPorte  Laramie  Lares Municipio Larimer  Larue  Las Animas 
##   NY        0        0               0        0      0           0
##     
## s1   Las Marías Municipio Las Piedras Municipio Lassen  Latah  Latimer 
##   NY                    0                     0       0      0        0
##     
## s1   Lauderdale  Laurel  Laurens  Lavaca  Lawrence  Le Flore  Le Sueur 
##   NY           0       0        0       0         0         0         0
##     
## s1   Lea  Leake  Leavenworth  Lebanon  Lee  Leelanau  Leflore  Lehigh 
##   NY    0      0            0        0    0         0        0       0
##     
## s1   Lemhi  Lenawee  Lenoir  Leon  Leslie  Letcher  Levy  Lewis 
##   NY      0        0       0     0       0        0     0      1
##     
## s1   Lewis and Clark  Lexington  Lexington city Liberty  Licking 
##   NY                0          0              0        0        0
##     
## s1   Limestone  Lincoln  Lincoln Parish Linn  Lipscomb  Litchfield 
##   NY          0        0              0     0         0           0
##     
## s1   Little River  Live Oak  Livingston  Livingston Parish Llano  Logan 
##   NY             0         0           1                 0      0      0
##     
## s1   Loíza Municipio Long  Lonoke  Lorain  Los Alamos  Los Angeles 
##   NY               0     0       0       0           0            0
##     
## s1   Loudon  Loudoun  Louisa  Loup  Love  Loving  Lowndes  Lubbock  Lucas 
##   NY       0        0       0     0     0       0        0        0      0
##     
## s1   Luce  Lumpkin  Luna  Lunenburg  Luquillo Municipio Luzerne  Lycoming 
##   NY     0        0     0          0                  0        0         0
##     
## s1   Lyman  Lynchburg city Lynn  Lyon  Mackinac  Macomb  Macon  Macoupin 
##   NY      0              0     0     0         0       0      0         0
##     
## s1   Madera  Madison  Madison Parish Magoffin  Mahaska  Mahnomen 
##   NY       0        1              0         0        0         0
##     
## s1   Mahoning  Major  Malheur  Manassas city Manassas Park city Manatee 
##   NY         0      0        0             0                  0        0
##     
## s1   Manatí Municipio Manistee  Manitowoc  Marathon  Marengo 
##   NY                0         0          0         0        0
##     
## s1   Maricao Municipio Maricopa  Maries  Marin  Marinette  Marion 
##   NY                 0         0       0      0          0       0
##     
## s1   Mariposa  Marlboro  Marquette  Marshall  Martin  Martinsville city
##   NY         0         0          0         0       0                 0
##     
## s1   Mason  Massac  Matagorda  Matanuska-Susitna Borough Mathews  Maui 
##   NY      0       0          0                         0        0     0
##     
## s1   Maunabo Municipio Maury  Maverick  Mayagüez Municipio Mayes  McClain 
##   NY                 0      0         0                  0      0        0
##     
## s1   McCone  McCook  McCormick  McCracken  McCreary  McCulloch  McCurtain 
##   NY       0       0          0          0         0          0          0
##     
## s1   McDonald  McDonough  McDowell  McDuffie  McHenry  McIntosh  McKean 
##   NY         0          0         0         0        0         0       0
##     
## s1   McKenzie  McKinley  McLean  McLennan  McLeod  McMinn  McMullen 
##   NY         0         0       0         0       0       0         0
##     
## s1   McNairy  McPherson  Meade  Meagher  Mecklenburg  Mecosta  Medina 
##   NY        0          0      0        0            0        0       0
##     
## s1   Meeker  Meigs  Mellette  Menard  Mendocino  Menifee  Menominee 
##   NY       0      0         0       0          0        0          0
##     
## s1   Merced  Mercer  Meriwether  Merrick  Merrimack  Mesa  Metcalfe 
##   NY       0       0           0        0          0     0         0
##     
## s1   Miami-Dade  Miami  Middlesex  Midland  Mifflin  Milam  Millard 
##   NY           0      0          0        0        0      0        0
##     
## s1   Mille Lacs  Miller  Mills  Milwaukee  Miner  Mineral  Mingo 
##   NY           0       0      0          0      0        0      0
##     
## s1   Minidoka  Minnehaha  Missaukee  Mississippi  Missoula  Mitchell 
##   NY         0          0          0            0         0         0
##     
## s1   Mobile  Moca Municipio Modoc  Moffat  Mohave  Moniteau  Monmouth 
##   NY       0              0      0       0       0         0         0
##     
## s1   Mono  Monona  Monongalia  Monroe  Montague  Montcalm  Monterey 
##   NY     0       0           0       1         0         0         0
##     
## s1   Montezuma  Montgomery  Montmorency  Montour  Montrose  Moody  Moore 
##   NY          0           1            0        0         0      0      0
##     
## s1   Mora  Morehouse Parish Morgan  Morovis Municipio Morrill  Morris 
##   NY     0                0       0                 0        0       0
##     
## s1   Morrison  Morrow  Morton  Motley  Moultrie  Mountrail  Mower 
##   NY         0       0       0       0         0          0      0
##     
## s1   Muhlenberg  Multnomah  Murray  Muscatine  Muscogee  Muskegon 
##   NY           0          0       0          0         0         0
##     
## s1   Muskingum  Muskogee  Musselshell  Nacogdoches  Naguabo Municipio
##   NY          0         0            0            0                 0
##     
## s1   Nance  Nantucket  Napa  Naranjito Municipio Nash  Nassau 
##   NY      0          0     0                   0     0       1
##     
## s1   Natchitoches Parish Natrona  Navajo  Navarro  Nelson  Nemaha  Neosho 
##   NY                   0        0       0        0       0       0       0
##     
## s1   Neshoba  Ness  Nevada  New Castle  New Hanover  New Haven  New Kent 
##   NY        0     0       0           0            0          0         0
##     
## s1   New London  New Madrid  New York  Newaygo  Newberry  Newport 
##   NY           0           0         1        0         0        0
##     
## s1   Newport News city Newton  Nez Perce  Niagara  Nicholas  Nicollet 
##   NY                 0       0          0        1         0         0
##     
## s1   Niobrara  Noble  Nobles  Nodaway  Nolan  Nome Census Area Norfolk 
##   NY         0      0       0        0      0                0        0
##     
## s1   Norfolk city Norman  North Slope Borough Northampton  Northumberland 
##   NY            0       0                   0            0               0
##     
## s1   Northwest Arctic Borough Norton  Norton city Nottoway  Nowata 
##   NY                        0       0           0         0       0
##     
## s1   Noxubee  Nuckolls  Nueces  Nye  O'Brien  Oakland  Obion  Ocean 
##   NY        0         0       0    0        0        0      0      0
##     
## s1   Oceana  Ochiltree  Oconee  Oconto  Ogemaw  Ogle  Oglethorpe  Ohio 
##   NY       0          0       0       0       0     0           0     0
##     
## s1   Okaloosa  Okanogan  Okeechobee  Okfuskee  Oklahoma  Okmulgee 
##   NY         0         0           0         0         0         0
##     
## s1   Oktibbeha  Oldham  Oliver  Olmsted  Oneida  Onondaga  Onslow 
##   NY          0       0       0        0       1         1       0
##     
## s1   Ontario  Ontonagon  Orange  Orangeburg  Oregon  Orleans 
##   NY        1          0       1           0       0        1
##     
## s1   Orleans Parish Orocovis Municipio Osage  Osborne  Osceola  Oscoda 
##   NY              0                  0      0        0        0       0
##     
## s1   Oswego  Otero  Otoe  Otsego  Ottawa  Otter Tail  Ouachita 
##   NY       1      0     0       1       0           0         0
##     
## s1   Ouachita Parish Ouray  Outagamie  Overton  Owen  Owsley  Owyhee 
##   NY               0      0          0        0     0       0       0
##     
## s1   Oxford  Ozark  Ozaukee  Pacific  Page  Palm Beach  Palo Alto 
##   NY       0      0        0        0     0           0          0
##     
## s1   Palo Pinto  Pamlico  Panola  Park  Parke  Parker  Parmer  Pasco 
##   NY           0        0       0     0      0       0       0      0
##     
## s1   Pasquotank  Passaic  Patillas Municipio Patrick  Paulding  Pawnee 
##   NY           0        0                  0        0         0       0
##     
## s1   Payette  Payne  Peach  Pearl River  Pecos  Pembina  Pemiscot 
##   NY        0      0      0            0      0        0         0
##     
## s1   Pend Oreille  Pender  Pendleton  Pennington  Penobscot 
##   NY             0       0          0           0          0
##     
## s1   Peñuelas Municipio Peoria  Pepin  Perkins  Perquimans  Perry 
##   NY                  0       0      0        0           0      0
##     
## s1   Pershing  Person  Petersburg Census Area Petersburg city Petroleum 
##   NY         0       0                      0               0          0
##     
## s1   Pettis  Phelps  Philadelphia  Phillips  Piatt  Pickaway  Pickens 
##   NY       0       0             0         0      0         0        0
##     
## s1   Pickett  Pierce  Pike  Pima  Pinal  Pine  Pinellas  Pipestone 
##   NY        0       0     0     0      0     0         0          0
##     
## s1   Piscataquis  Pitkin  Pitt  Pittsburg  Pittsylvania  Piute  Placer 
##   NY            0       0     0          0             0      0       0
##     
## s1   Plaquemines Parish Platte  Pleasants  Plumas  Plymouth  Pocahontas 
##   NY                  0       0          0       0         0           0
##     
## s1   Poinsett  Pointe Coupee Parish Polk  Ponce Municipio Pondera 
##   NY         0                    0     0               0        0
##     
## s1   Pontotoc  Pope  Poquoson city Portage  Porter  Portsmouth city Posey 
##   NY         0     0             0        0       0               0      0
##     
## s1   Pottawatomie  Pottawattamie  Potter  Powder River  Powell  Power 
##   NY             0              0       0             0       0      0
##     
## s1   Poweshiek  Powhatan  Prairie  Pratt  Preble  Prentiss  Presidio 
##   NY          0         0        0      0       0         0         0
##     
## s1   Presque Isle  Preston  Price  Prince Edward  Prince George's 
##   NY             0        0      0              0                0
##     
## s1   Prince George  Prince of Wales-Hyder Census Area Prince William 
##   NY              0                                 0               0
##     
## s1   Providence  Prowers  Pueblo  Pulaski  Pushmataha  Putnam  Quay 
##   NY           0        0       0        0           0       1     0
##     
## s1   Quebradillas Municipio Queen Anne's  Queens  Quitman  Rabun  Racine 
##   NY                      0             0       1        0      0       0
##     
## s1   Radford city Rains  Raleigh  Ralls  Ramsey  Randall  Randolph 
##   NY            0      0        0      0       0        0         0
##     
## s1   Rankin  Ransom  Rapides Parish Rappahannock  Ravalli  Rawlins  Ray 
##   NY       0       0              0             0        0        0    0
##     
## s1   Reagan  Real  Red Lake  Red River  Red River Parish Red Willow 
##   NY       0     0         0          0                0           0
##     
## s1   Redwood  Reeves  Refugio  Reno  Rensselaer  Renville  Republic 
##   NY        0       0        0     0           1         0         0
##     
## s1   Reynolds  Rhea  Rice  Rich  Richardson  Richland  Richland Parish
##   NY         0     0     0     0           0         0               0
##     
## s1   Richmond  Richmond city Riley  Rincón Municipio Ringgold  Rio Arriba 
##   NY         1             0      0                0         0           0
##     
## s1   Rio Blanco  Rio Grande  Río Grande Municipio Ripley  Ritchie 
##   NY           0           0                    0       0        0
##     
## s1   Riverside  Roane  Roanoke  Roanoke city Roberts  Robertson  Robeson 
##   NY          0      0        0            0        0          0        0
##     
## s1   Rock  Rock Island  Rockbridge  Rockcastle  Rockdale  Rockingham 
##   NY     0            0           0           0         0           0
##     
## s1   Rockland  Rockwall  Roger Mills  Rogers  Rolette  Rooks  Roosevelt 
##   NY         1         0            0       0        0      0          0
##     
## s1   Roscommon  Roseau  Rosebud  Ross  Routt  Rowan  Runnels  Rush  Rusk 
##   NY          0       0        0     0      0      0        0     0     0
##     
## s1   Russell  Rutherford  Rutland  Sabana Grande Municipio Sabine 
##   NY        0           0        0                       0       0
##     
## s1   Sabine Parish Sac  Sacramento  Sagadahoc  Saginaw  Saguache  Salem 
##   NY             0    0           0          0        0         0      0
##     
## s1   Salem city Salinas Municipio Saline  Salt Lake  Saluda  Sampson 
##   NY          0                 0       0          0       0        0
##     
## s1   San Augustine  San Benito  San Bernardino  San Diego  San Francisco 
##   NY              0           0               0          0              0
##     
## s1   San Germán Municipio San Jacinto  San Joaquin  San Juan 
##   NY                    0            0            0         0
##     
## s1   San Juan Municipio San Lorenzo Municipio San Luis Obispo  San Mateo 
##   NY                  0                     0                0          0
##     
## s1   San Miguel  San Patricio  San Saba  San Sebastián Municipio Sanborn 
##   NY           0             0         0                       0        0
##     
## s1   Sanders  Sandoval  Sandusky  Sangamon  Sanilac  Sanpete 
##   NY        0         0         0         0        0        0
##     
## s1   Santa Barbara  Santa Clara  Santa Cruz  Santa Fe 
##   NY              0            0           0         0
##     
## s1   Santa Isabel Municipio Santa Rosa  Sarasota  Saratoga  Sargent 
##   NY                      0           0         0         1        0
##     
## s1   Sarpy  Sauk  Saunders  Sawyer  Schenectady  Schleicher  Schley 
##   NY      0     0         0       0            1           0       0
##     
## s1   Schoharie  Schoolcraft  Schuyler  Schuylkill  Scioto  Scotland 
##   NY          1            0         1           0       0         0
##     
## s1   Scott  Scotts Bluff  Screven  Scurry  Searcy  Sebastian  Sedgwick 
##   NY      0             0        0       0       0          0         0
##     
## s1   Seminole  Seneca  Sequatchie  Sequoyah  Sevier  Seward  Shackelford 
##   NY         0       1           0         0       0       0            0
##     
## s1   Shannon  Sharkey  Sharp  Shasta  Shawano  Shawnee  Sheboygan  Shelby 
##   NY        0        0      0       0        0        0          0       0
##     
## s1   Shenandoah  Sherburne  Sheridan  Sherman  Shiawassee  Shoshone 
##   NY           0          0         0        0           0         0
##     
## s1   Sibley  Sierra  Silver Bow  Simpson  Sioux  Siskiyou 
##   NY       0       0           0        0      0         0
##     
## s1   Sitka City and Borough Skagit  Skagway Municipality Skamania  Slope 
##   NY                      0       0                    0         0      0
##     
## s1   Smith  Smyth  Snohomish  Snyder  Socorro  Solano  Somerset 
##   NY      0      0          0       0        0       0         0
##     
## s1   Somervell  Sonoma  Southampton  Southeast Fairbanks Census Area
##   NY          0       0            0                               0
##     
## s1   Spalding  Spartanburg  Spencer  Spink  Spokane  Spotsylvania 
##   NY         0            0        0      0        0             0
##     
## s1   St. Bernard Parish St. Charles  St. Charles Parish St. Clair 
##   NY                  0            0                  0          0
##     
## s1   St. Croix St. Croix  St. Francis  St. Francois  St. Helena Parish
##   NY         0          0            0             0                 0
##     
## s1   St. James Parish St. John St. John the Baptist Parish St. Johns 
##   NY                0        0                           0          0
##     
## s1   St. Joseph  St. Landry Parish St. Lawrence  St. Louis  St. Louis city
##   NY           0                 0             1          0              0
##     
## s1   St. Lucie  St. Martin Parish St. Mary's  St. Mary Parish
##   NY          0                 0           0               0
##     
## s1   St. Tammany Parish St. Thomas Stafford  Stanislaus  Stanley  Stanly 
##   NY                  0          0         0           0        0       0
##     
## s1   Stanton  Stark  Starke  Starr  Staunton city Ste. Genevieve  Stearns 
##   NY        0      0       0      0             0               0        0
##     
## s1   Steele  Stephens  Stephenson  Sterling  Steuben  Stevens  Stewart 
##   NY       0         0           0         0        1        0        0
##     
## s1   Stillwater  Stoddard  Stokes  Stone  Stonewall  Storey  Story 
##   NY           0         0       0      0          0       0      0
##     
## s1   Strafford  Stutsman  Sublette  Suffolk  Suffolk city Sullivan 
##   NY          0         0         0        1            0         1
##     
## s1   Sullivan part Sully  Summers  Summit  Sumner  Sumter  Sunflower 
##   NY             0      0        0       0       0       0          0
##     
## s1   Surry  Susquehanna  Sussex  Sutter  Sutton  Suwannee  Swain 
##   NY      0            0       0       0       0         0      0
##     
## s1   Sweet Grass  Sweetwater  Swift  Swisher  Switzerland  Talbot 
##   NY            0           0      0        0            0       0
##     
## s1   Taliaferro  Talladega  Tallahatchie  Tallapoosa  Tama  Taney 
##   NY           0          0             0           0     0      0
##     
## s1   Tangipahoa Parish Taos  Tarrant  Tate  Tattnall  Taylor  Tazewell 
##   NY                 0     0        0     0         0       0         0
##     
## s1   Tehama  Telfair  Teller  Tensas Parish Terrebonne Parish Terrell 
##   NY       0        0       0             0                 0        0
##     
## s1   Terry  Teton  Texas  Thayer  Thomas  Throckmorton  Thurston  Tift 
##   NY      0      0      0       0       0             0         0     0
##     
## s1   Tillamook  Tillman  Tioga  Tippah  Tippecanoe  Tipton  Tishomingo 
##   NY          0        0      1       0           0       0           0
##     
## s1   Titus  Toa Alta Municipio Toa Baja Municipio Todd  Tolland 
##   NY      0                  0                  0     0        0
##     
## s1   Tom Green  Tompkins  Tooele  Toole  Toombs  Torrance  Towner  Towns 
##   NY          0         1       0      0       0         0       0      0
##     
## s1   Traill  Transylvania  Traverse  Travis  Treasure  Trego  Trempealeau 
##   NY       0             0         0       0         0      0            0
##     
## s1   Treutlen  Trigg  Trimble  Trinity  Tripp  Troup  Trousdale 
##   NY         0      0        0        0      0      0          0
##     
## s1   Trujillo Alto Municipio Trumbull  Tucker  Tulare  Tulsa  Tunica 
##   NY                       0         0       0       0      0       0
##     
## s1   Tuolumne  Turner  Tuscaloosa  Tuscarawas  Tuscola  Twiggs 
##   NY         0       0           0           0        0       0
##     
## s1   Twin Falls  Tyler  Tyrrell  Uinta  Uintah  Ulster  Umatilla  Unicoi 
##   NY           0      0        0      0       0       1         0       0
##     
## s1   Union  Union Parish Upshur  Upson  Upton  Utah  Utuado Municipio
##   NY      0            0       0      0      0     0                0
##     
## s1   Uvalde  Val Verde  Valdez-Cordova Census Area Valencia  Valley 
##   NY       0          0                          0         0       0
##     
## s1   Van Buren  Van Wert  Van Zandt  Vance  Vanderburgh 
##   NY          0         0          0      0            0
##     
## s1   Vega Alta Municipio Vega Baja Municipio Venango  Ventura  Vermilion 
##   NY                   0                   0        0        0          0
##     
## s1   Vermilion Parish Vermillion  Vernon  Vernon Parish Victoria 
##   NY                0           0       0             0         0
##     
## s1   Vieques Municipio Vigo  Vilas  Villalba Municipio Vinton 
##   NY                 0     0      0                  0       0
##     
## s1   Virginia Beach city Volusia  Wabash  Wabasha  Wabaunsee 
##   NY                   0        0       0        0          0
##     
## s1   Wade Hampton Census Area Wadena  Wagoner  Wahkiakum  Wake  Wakulla 
##   NY                        0       0        0          0     0        0
##     
## s1   Waldo  Walker  Walla Walla  Wallace  Waller  Wallowa  Walsh 
##   NY      0       0            0        0       0        0      0
##     
## s1   Walthall  Walton  Walworth  Wapello  Ward  Ware  Warren  Warrick 
##   NY         0       0         0        0     0     0       1        0
##     
## s1   Wasatch  Wasco  Waseca  Washakie  Washburn  Washington 
##   NY        0      0       0         0         0           1
##     
## s1   Washington Parish Washita  Washoe  Washtenaw  Watauga  Watonwan 
##   NY                 0        0       0          0        0         0
##     
## s1   Waukesha  Waupaca  Waushara  Wayne  Waynesboro city Weakley  Webb 
##   NY         0        0         0      1               0        0     0
##     
## s1   Weber  Webster  Webster Parish Weld  Wells  West Baton Rouge Parish
##   NY      0        0              0     0      0                       0
##     
## s1   West Carroll Parish West Feliciana Parish Westchester  Westmoreland 
##   NY                   0                     0            1             0
##     
## s1   Weston  Wetzel  Wexford  Wharton  Whatcom  Wheatland  Wheeler  White 
##   NY       0       0        0        0        0          0        0      0
##     
## s1   White Pine  Whiteside  Whitfield  Whitley  Whitman  Wibaux  Wichita 
##   NY           0          0          0        0        0       0        0
##     
## s1   Wicomico  Wilbarger  Wilcox  Wilkes  Wilkin  Wilkinson  Will 
##   NY         0          0       0       0       0          0     0
##     
## s1   Willacy  Williams  Williamsburg  Williamsburg city Williamson 
##   NY        0         0             0                 0           0
##     
## s1   Wilson  Winchester city Windham  Windsor  Winkler  Winn Parish
##   NY       0               0        0        0        0           0
##     
## s1   Winnebago  Winneshiek  Winona  Winston  Wirt  Wise  Wolfe  Wood 
##   NY          0           0       0        0     0     0      0     0
##     
## s1   Woodbury  Woodford  Woodruff  Woods  Woodson  Woodward  Worcester 
##   NY         0         0         0      0        0         0          0
##     
## s1   Worth  Wrangell City and Borough Wright  Wyandot  Wyandotte  Wyoming 
##   NY      0                         0       0        0          0        1
##     
## s1   Wythe  Yabucoa Municipio Yadkin  Yakima  Yakutat City and Borough
##   NY      0                 0       0       0                        0
##     
## s1   Yalobusha  Yamhill  Yancey  Yankton  Yates  Yauco Municipio Yavapai 
##   NY          0        0       0        0      1               0        0
##     
## s1   Yazoo  Yell  Yellow Medicine  Yellowstone  Yoakum  Yolo  York  Young 
##   NY      0     0                0            0       0     0     0      0
##     
## s1   Yuba  Yukon-Koyukuk Census Area Yuma  Zapata  Zavala  Ziebach 
##   NY     0                         0     0       0       0        0

5. Create a graph for a single numeric variable.

qplot(fmr0bedroom,  data=mydata)
## stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.

Or

qplot(fmr0bedroom,  color=state, data=mydata)
## stat_bin: binwidth defaulted to range/30. Use 'binwidth = x' to adjust this.

6. Create a scatterplot of two numeric variables.

p<- qplot( fmr2bedroom, pop2010,  data= mydata, color =pop2010,  size=I(5),
     main= " Population over Two bedroom rental cost",
     xlab ="Two Bedroom Rental Cost", 
     ylab="Population" )   

p + theme_bw()
## Warning: Removed 2 rows containing missing values (geom_point).

p + theme(axis.title=element_text(face="bold.italic", 
   size="14", color="Red"), legend.position="Right")
## Warning: Removed 2 rows containing missing values (geom_point).

Draw a map showing the cost of Section 8 Two bedroom Rental by County

it looks like the cost of section 8 two bedroom is higher in the north and south east regions.

it also more expensive in the west coast.

colors = c("#F1EEF6", "#D4B9DA", "#C994C7", "#DF65B0", "#DD1C77", "#980043")
mydata$colorBuckets <- as.numeric(cut(mydata$fmr2bedroom, c(0, 405, 643, 715, 806, 925, 2000)))
leg.txt <- c("< Min", "1st Qu", "Median", "Mean", "3rd Qu", "Max")


cnty.fips <- county.fips$fips[match(map("county", plot=FALSE)$names,
county.fips$polyname)]

colorsmatched <- mydata$colorBuckets [match(cnty.fips, mydata$fips2010)]

map("county", col = colors[colorsmatched], fill = TRUE, resolution = 0,
lty = 0, projection = "polyconic")
map("state", col = "white", fill = FALSE, add = TRUE, lty = 1, lwd = 0.2,
projection="polyconic")

title("The Cost of Section8 Two bedroom Rental by County")
legend("topright", leg.txt, horiz = TRUE, fill = colors)