From e6db270f089ffd651ee3b551ce3e303825922b90 Mon Sep 17 00:00:00 2001 From: Anna Krystalli Date: Thu, 14 Apr 2022 14:55:28 +0100 Subject: [PATCH] revert to piping attribute vector to tabyl --- R/layer_attributes.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/layer_attributes.R b/R/layer_attributes.R index 8b4262d..761327e 100644 --- a/R/layer_attributes.R +++ b/R/layer_attributes.R @@ -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),