exist_attribute_insights: Query Exist.io for all insights for a specific attribute

Description Usage Arguments Value Examples

View source: R/exist_attribute_insights.R

Description

Returns information on all insights for a specific attribute.

Usage

1
2
3
4
5
6
7
8
exist_attribute_insights(
  token = NULL,
  attribute = "mood",
  limit = NULL,
  page = 1,
  date_min = NULL,
  date_max = NULL
)

Arguments

token

The token environment.

attribute

The attribute for which to get all insights. Defaults to mood.

limit

Number of values to return per page, starting with today. Optional, max is 100.

page

Page index. Optional, default is 1.

date_min

Oldest date (inclusive) of results to be returned, in format YYYY-mm-dd. Optional.

date_max

Most recent date (inclusive) of results to be returned, in format YYYY-mm-dd. Optional.

Value

A list containing the information of all insights for a specific attribute.

Examples

1
2
3
4
5
## Not run: 
etoken <- exist_auth()
exist_attribute_insights(etoken)

## End(Not run)

ebbertd/existR documentation built on March 3, 2020, 8:02 a.m.