Learn R Programming

aws.alexa (version 0.1.8)

category_listing: Category Listing

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

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

Run this code
# NOT RUN {
category_listing(path="Top/Arts")
# }

Run the code above in your browser using DataLab