xbrlSECdev01: "Mutable state" function that exposes "methods" that analyze...

View source: R/xbrlSECdev01.R

xbrlSECdev01R Documentation

"Mutable state" function that exposes "methods" that analyze a US SEC submission.

Description

xbrlSECtmp is a "mutable state" function (see XBRL). It exposes the method showPresentationHierarchy. It is a work in progress.

Usage

xbrlSECdev01(xbrl.vars)

Arguments

xbrl.vars

list of variables returned by xbrlDoAll

Details

  • showPresentationHierarchy(showLabels=TRUE, showFacts=FALSE, file="") Shows a tree of the presentations provided.

Value

a list of "methods"

Author(s)

Roberto Bertolusso and Marek Kimmel

See Also

xbrlDoAll, xbrlParse

Examples

## Not run: 
## Setting stringsAsFactors = FALSE is highly recommended
## to avoid data frames to create factors from character vectors.
options(stringsAsFactors = FALSE)

## XBRL instance file to be analyzed, accessed
## directly from SEC website:
inst <- "https://www.sec.gov/Archives/edgar/data/21344/000002134413000050/ko-20130927.xml"

xbrl.vars <- xbrlDoAll(inst)
xbrl.sec <- xbrlSECdev01(xbrl.vars)
xbrl.sec$showPresentationHierarchy(showLabels=TRUE, showFacts=TRUE)

## End(Not run)

XBRL documentation built on March 29, 2022, 1:05 a.m.