For this project, I am using the AtoZ Database to download businesses by NAICS Codes. I used 445110 to identify grocery store locations in the zip codes 78207, 78201, and 78204. I used 624190 NAICS code to identify the addresses of WIC Clinics in the same zip codes.
# A tibble: 6 × 4
street city st zip
<chr> <chr> <chr> <dbl>
1 1013 S San Jacinto St San Antonio TX 78207
2 1102 Delgado St San Antonio TX 78207
3 1115 W Martin St San Antonio TX 78207
4 1115 W Martin St San Antonio TX 78207
5 1115 W Martin St San Antonio TX 78207
6 1115 W Martin St San Antonio TX 78207
# A tibble: 6 × 5
`business name` street city st zip
<chr> <chr> <chr> <chr> <dbl>
1 Surlean Foods 1545 S San Marcos San Antonio TX 78207
2 Super Target 4522 Fredericksburg Rd San Antonio TX 78201
3 Pico De Gallo 111 S Leona St San Antonio TX 78207
4 Target 4522 Fredericksburg Rd San Antonio TX 78201
5 H-E-B LP 3485 Fredericksburg Rd San Antonio TX 78201
6 Balcones Food Store 3309 Hillcrest Dr San Antonio TX 78201
The challenge: Create one map with the different layers. I’ve renamed my layers to identify those that use lat/long by adding “LL” to the end of the map name. Basically, I used this code below to combine the maps, then created them as layers. Then I used col. regions to show them with different colors because it’s harder to see them when they’re all the default blue-ish color.