category_listing: Category Listing

Description Usage Arguments Value References Examples

View source: R/category_listing.R

Description

Uses data from dmoz.org, which is no longer updated. For any given category, it returns a list of site listings contained within that category.

Usage

1
2
3
4
5
6
7
8
9
category_listing(
  path = NULL,
  sort_by = "Popularity",
  recursive = TRUE,
  start = 0,
  count = 20,
  description = TRUE,
  ...
)

Arguments

path

String; Required; valid category path

sort_by

sort results by Popularity, Title, or AverageReview

recursive

Boolean; Whether to return listings for the current category only, or for the current category plus all subcategories, Default is TRUE

start

index of result at which to start; default is 0

count

Number of results to return for this request; Max = 20; Default = 20

description

Boolean; Optional; Whether or not to return descriptions of categories; Default is TRUE

...

Additional arguments passed to alexa_GET.

Value

data.frame

References

https://docs.aws.amazon.com/AlexaWebInfoService/latest/ApiReference_CategoryListingsAction.html

Examples

1
2
3
4
## Not run: 
category_listing(path="Top/Arts")

## End(Not run)

aws.alexa documentation built on Nov. 10, 2020, 3:49 p.m.