tg_channels_search {rtgstat}R Documentation

Channel search

Description

The method allows you to search for channels by keyword or get a list of channels in a category.

Usage

tg_channels_search(
  query = NULL,
  search_by_description = FALSE,
  country = "ru",
  language = "russian",
  category = NULL,
  limit = 100
)

Arguments

query

Search keyword

search_by_description

Search in channel description?

country

Channel geography (country). Use tg_countries for get countries dictionary.

language

Channel content language. Use tg_languages for get languages dictionary.

category

Channel category. Use tg_categories for get categories dictionary.

limit

Maximum number of channels in a response, no more than 100.

Value

tibble with channels

References

See also TGStat API Documentation of metrod channels/search

Examples

## Not run: 
channels <- tg_channels_search(
   query    = "data",
   country  = "ru",
   category = "tech"
)

## End(Not run)


[Package rtgstat version 0.3.2 Index]