add_image_dummy: A function that adds a dummy variable to the dataset...

Description Usage Arguments Examples

Description

This function takes the URLs in the tweets' text and it indicates whether this contains a link to an image (==1) or not (==0).

Usage

1
add_image_dummy(dataset, var_full_url = "links_full_url")

Arguments

dataset

The name of your dataset.

var_full_url

A string indicating the name of the variable in your dataset that conatins lists with full urls in the text messages.

Examples

1
2
3
4
## Not run: 
dataset_with_image_dummy <- add_image_dummy(dataset, "links_full_url")

## End(Not run)

CasAndreu/ccceR documentation built on May 6, 2019, 9:28 a.m.