[R] Choropleth map over an outline of Florida's 67 counties

2019-05-30 Thread Thomas MacFarland
Everyone: I am trying to build a choropleth map that uses colored shading to identify the number of incidents for a specific event during Calendar Year 2018 throughout Florida, ideally on a county-by-county basis. I'd also like to include the county borders in the map, to emphasize urban v rur

[R] Use ggplot to create a state map with counties and county names as labels

2018-09-21 Thread Thomas MacFarland
Everyone: Using multiple resources I've been able to create a state (Kentucky) map that shows all 120 counties, with two selected counties highlighted in red. Fine, except - I also want to show the names of the two selected counties, likely as labels. Any ideas on how to achieve this aim would

[R] recode() function results in logical output, not factor output

2008-01-08 Thread Thomas MacFarland
Dear R Users: I have race-ethnicity groups identified in the factor variable Ethnic_G. I need to collapse Ethnic_G into a new variable with only two factors, 1 (White, non-Hispanic) and 2 (Minority). As seen in the code and output below, the recoded race-ethnicity variable is put into logi