Skip to content

Commit

Permalink
add class = 'sf' for CBSA geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerke committed Mar 25, 2020
1 parent be9594a commit db00e3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Authors@R: c(
person(given = "Kyle", family = "Walker", email="kyle.walker@tcu.edu", role=c("aut", "cre")),
person(given = "Kris", family = "Eberwein", email = "eberwein@knights.ucf.edu", role = "ctb"),
person(given = "Matt", family = "Herman", email = "mfherman@gmail.com", role = "ctb"))
Date: 2020-03-09
Date: 2020-03-25
URL: https://github.com/walkerke/tidycensus
BugReports: https://github.com/walkerke/tidycensus/issues
Description: An integrated R interface to the decennial US Census and American Community Survey APIs and
Expand Down
2 changes: 1 addition & 1 deletion R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ use_tigris <- function(geography, year, cb = TRUE, resolution = "500k",

} else if (geography == "metropolitan statistical area/micropolitan statistical area") {

cbsa <- core_based_statistical_areas(cb = cb, year = year, ...)
cbsa <- core_based_statistical_areas(cb = cb, year = year, class = "sf", ...)

return(cbsa)

Expand Down

0 comments on commit db00e3d

Please sign in to comment.