get_urgency {poldis}R Documentation

Urgency Analysis

Description

Urgency Analysis

Usage

get_urgency(.data, normalize = "tokens")

Arguments

.data

A data frame, priorities data frame coded using 'select_priorities()', or text vector. For data frames, function will search for "text" variable. For priorities data frame function will search for "priorities" variable.

normalize

Would you like urgency scores to be normalized? By default, urgency scores are normalized by "tokens", the number of words in text observation. Users can also declare "none", for no normalization.

Value

A scored data frame for each dimension of urgency.

Examples


get_urgency(US_News_Conferences_1960_1980[1:10, 3])
get_urgency(US_News_Conferences_1960_1980[1:10,])


[Package poldis version 0.1.1 Index]