Skip to content

Commit

Permalink
revert to piping attribute vector to tabyl
Browse files Browse the repository at this point in the history
  • Loading branch information
annakrystalli committed Apr 14, 2022
1 parent 0cc63b8 commit e6db270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/layer_attributes.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ layer_attribute_inspect <- function(wfs = NULL,


switch(attribute_type,
character = janitor::tabyl(attribute_vector),
factor = janitor::tabyl(attribute_vector),
character = attribute_vector %>% janitor::tabyl(),
factor = attribute_vector %>% janitor::tabyl(),
numeric = summary(attribute_vector),
integer = summary(attribute_vector),
double = summary(attribute_vector),
Expand Down

0 comments on commit e6db270

Please sign in to comment.