cja_get_filters {cjar}R Documentation

Get a paginated list of filters in CJA

Description

Retrieves a paginated list of filters, also known as segments in Adobe Analytics.

Usage

cja_get_filters(
  expansion = NULL,
  includeType = "all",
  dataviewIds = NULL,
  ownerId = NULL,
  filterByIds = NULL,
  toBeUsedInRsid = NULL,
  locale = "en_US",
  name = NULL,
  filterByModifiedAfter = NULL,
  cached = TRUE,
  pagination = TRUE,
  limit = 10,
  page = 0,
  sortDirection = "ASC",
  sortProperty = "id",
  debug = FALSE
)

Arguments

expansion

Comma-delimited list of additional segment metadata fields to include on response. See Details for all options available

includeType

Include additional filters not owned by user. Default is "all". Options include: "shared" "templates" "deleted" "internal"

dataviewIds

Filter list to only include filters tied to the specified data group ID list (comma-delimited)

ownerId

Filter list to only include filters owned by the specified imsUserId

filterByIds

Filter list to only include filters in the specified list (comma-delimited list of IDs). This has filtered Ids from tags, approved, favorites and user specified Ids list.

toBeUsedInRsid

The report suite where the segment is intended to be used. This report suite will be used to determine things like compatibility and permissions.

locale

Locale - Default: "en_US"

name

Filter list to only include filters that contains the Name. Can only be a string value.

filterByModifiedAfter

Filter list to only include filters modified since this date. 'yyyy-mm-dd' format

cached

Return cached results. TRUE by default.

pagination

Return paginated results

limit

Number of results per page

page

Page number (base 0 - first page is "0")

sortDirection

Sort direction ('ASC' or 'DESC'). 'ASC' is default.

sortProperty

Property to sort by (name, modified_date, performanceScore, id is currently allowed). 'id' is default

debug

Used to help troubleshoot api call issues. Shows the call and result in the console

Details

Expansion options can include the following: "compatibility", "definition", "internal", "modified", "isDeleted", "definitionLastModified", "createdDate", "recentRecordedAccess", "performanceScore", "owner", "dataId", "ownerFullName", "dataName", "sharesFullName", "approved", "favorite", "shares", "tags", "usageSummary", "usageSummaryWithRelevancyScore"

Value

A data frame of company ids and company names

Examples

## Not run: 
cja_get_filters()

## End(Not run)

[Package cjar version 0.1.2 Index]