nvd_entry_parser: NVD vulnerabilities XML parser

Description Usage Value Examples

Description

A function that goes into XML::xmlEventParse as branches argument to parse NVD entries' nodes marked as entry.

Usage

1

Value

A list containing a node-parsing-function and a constructor, where constructor returns a data.table::data.table of entries from XML.

Examples

1
2
3
4
5
6
## Not run: 
  parser <- nvd_entry_parser()
  XML::xmlEventParse(file = "test.csv", handlers = list(), branches = parser)
  parser$get_vulnerabilities()

## End(Not run)

realerikrani/nvdr documentation built on May 29, 2019, 8:06 a.m.