get_feature_summary: Get summary table for some feature

Description Usage Arguments Value Examples

Description

Produces a frequency table of all features in a specific column. Especially useful if one column contains a list of features.

Usage

1
get_feature_summary(dat_gh, col, sep = ",")

Arguments

dat_gh

A tibble (data.frame) containing the data.

col

The column name that should be summarized (character vector of length 1).

sep

The separator to use as split, if the column contains a list of features. Character vector of length 1. Default is ",".

Value

A frequency table of features.

Examples

1
2
3
4
5
6
## Not run: 
url_geizhals <- "https://geizhals.at/?cat=acam35"
dat_gh <- get_geizhals_data(url_geizhals, max_pages = 1)
get_feature_summary(dat_gh, col = "Typ")

## End(Not run)

ingonader/rgeizhals documentation built on May 29, 2019, 3:05 a.m.