Skip to content

Commit

Permalink
Improves #11. Documenting dump_enrichments
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekch committed Feb 17, 2015
1 parent 917859c commit cd99b74
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
16 changes: 13 additions & 3 deletions R/get_dump_enrichments.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,20 @@
#' ..$ referencedIds :List of 1 \cr
#' .. ..$ : int 1728 \cr
#'
#' Detailed description of the meaning of all elements TODO.
#'
#' If \code{simplify = TRUE} a \code{data.frame} described in TODO is returned.
#' Detailed description of the meaning of all elements could be found below.
#'
#' If \code{simplify = TRUE} a \code{data.frame} with following columns:
#' \tabular{rlll}{
#' n \tab name \tab class \tab description \cr
#' [,1] \tab id \tab integer \tab ID of a tag \cr
#' [,2] \tab judgmentId \tab integer \tab ID of tagged judgment \cr
#' [,3] \tab tagType \tab character \tab type of tag \cr
#' [,4] \tab value \tab list \tab tag's details, depend on type of a tag \cr
#' }
#'
#' There are a few types of tags listed below:
#' TODO
#'
#' @export

get_dump_enrichments <- function(simplify = FALSE){
Expand Down
14 changes: 12 additions & 2 deletions man/get_dump_enrichments.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ If \code{simplify = FALSE} the list of enrichment tags as returned
..$ referencedIds :List of 1 \cr
.. ..$ : int 1728 \cr

Detailed description of the meaning of all elements TODO.
Detailed description of the meaning of all elements could be found below.

If \code{simplify = TRUE} a \code{data.frame} described in TODO is returned.
If \code{simplify = TRUE} a \code{data.frame} with following columns:
\tabular{rlll}{
n \tab name \tab class \tab description \cr
[,1] \tab id \tab integer \tab ID of a tag \cr
[,2] \tab judgmentId \tab integer \tab ID of tagged judgment \cr
[,3] \tab tagType \tab character \tab type of tag \cr
[,4] \tab value \tab list \tab tag's details, depend on type of a tag \cr
}
There are a few types of tags listed below:
TODO
}
\description{
Download the list of all tags with extra information abour judgments
Expand Down

0 comments on commit cd99b74

Please sign in to comment.