Skip to content

Commit 3264e61

Browse files
Update R-packages/covidcast/R/plot.R
Co-authored-by: Alex Reinhart <alex@refsmmat.com>
1 parent cd29155 commit 3264e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R-packages/covidcast/R/plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ plot_choro = function(x, time_value = NULL, include = c(), range,
108108
names(val) = geo
109109

110110
# Make background layer for MSA and HRR maps which are incomplete
111-
if ((attributes(x)$geo_type == "msa") |
111+
if ((attributes(x)$geo_type == "msa") ||
112112
(attributes(x)$geo_type == "hrr")) {
113113
map_df = sf::st_read('../data/shapefiles/state/cb_2019_us_state_5m.shp')
114114
background_crs = sf::st_crs(map_df)

0 commit comments

Comments
 (0)