Learn R Programming

searchConsoleR (version 0.4.0)

parseDimFilterGroup: Helper function for the query dimension filters

Description

Saves the need for 3 parameters when you just have one

Usage

parseDimFilterGroup(dfe)

Arguments

dfe

A string of form: dimension operator expression e.g. country!~GBR

Details

dimension = c('country','device','page','query','searchAppearance') operator = c(`~~` = 'contains', `==` = 'equals', `!~` = 'notContains', `!=` = 'notEquals)

expression = country: an ISO 3166-1 alpha-3 country code. device: 'DESKTOP','MOBILE','TABLET' page: not checked query: not checked searchAppearance: 'AMP_BLUE_LINK', 'RICHCARD'

See Also

Other search analytics: lookupCountryCode