summary.dracor {rdracor}R Documentation

Retrieve metadata for all plays in selected corpora

Description

get_dracor() request data on all plays in selected (or all) corpora. get_dracor() returns dracor object that inherits data frame (and can be used as such) but specified summary method.

Usage

## S3 method for class 'dracor'
summary(object, ...)

get_dracor(corpus = "all", full_metadata = TRUE)

Arguments

object

An object of class dracor.

...

Other arguments to be passed to summary.default.

corpus

Character vector with names of the corpora (you can find all corpora names in name column within an object returned by get_dracor_meta) or "all" (default value). if "all", then all available corpora are downloaded.

full_metadata

Logical: if TRUE (default value), then additional metadata are retrieved.

Details

You need to provide a vector with valid names of the corpora, e.g. "rus", "ger" or "shake". Use function get_dracor_meta to extract names for all available corpora.

Value

dracor object that inherits data frame (and can be used as such).

Functions

See Also

get_dracor_meta

Examples


tat <- get_dracor("tat")
summary(tat)
get_dracor(c("ita", "span", "greek"))
get_dracor()


[Package rdracor version 1.0.3 Index]