parler_profile: Get Parler Profile Data

Description Usage Arguments Details Value Examples

View source: R/parler_profile.R

Description

Gets Relevant Profile/User Metadata by username

Usage

1
2
3
4
5
6
7
8
parler_profile(
  user,
  output_format = "data.frame",
  flatten_sep = " || ",
  token_variables = FALSE,
  parse_numbers = TRUE,
  verbose = FALSE
)

Arguments

user

Parler user handle.

output_format

Options include: data.frame (flattened), list, and json (raw json file)

flatten_sep

Separator used to flatten nested variables (e.g. multiple badges per user). Defaults to ||

token_variables

Whether to output information associated with token (e.g. follower relationship between token user and scraped user). Defaults to FALSE

parse_numbers

Whether to parse numbers from Parler's format to numeric (e.g. from 16k to 16000)

verbose

Whether to print additional information while scraping

Details

Warning: ...

Value

A dataframe with one row and a column for each variable.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
out <-
  parler_profile(user = "caseybmulligan",
                 output_format = "data.frame",
                 flatten_sep = " || ",
                 token_variables = FALSE,
                 parse_numbers = TRUE,
                 verbose = TRUE)

print(colnames(out))

## End(Not run)

schliebs/parleR documentation built on March 28, 2021, 7:34 p.m.