DataSetUpdate: Update local data sets and update R/sysdata.rda file

Description Usage Arguments Details Value Examples

View source: R/public.R

Description

DataSetUpdate Starts the process for updating local data sets available with GetDataFrame function.

Usage

1
DataSetUpdate(ds = "all", samples = FALSE, use.remote = TRUE)

Arguments

ds

Selects the data set for this operation. Default set to "all". Check available options with DataSetList()

samples

if TRUE it will create sample data.frames and store them in /data

use.remote

if TRUE it will download sysdata.rda from net.security github

Details

The process include the following phases:

  1. Download files from MITRE, NIST and INCIBE sources.

  2. Process MITRE raw data.

  3. Process NIST raw data. One file per year.

  4. Indexing data. Includes CSV and XML parsing. Build data frame.

  5. Tidy data frame.

  6. Compress and save data.frame to internal data.

Value

Date Official source files download date time.

Examples

1
2
3
4
5
6
7
8
## Not run: 
net.security::DataSetUpdate(ds = "all")

## End(Not run)
## Not run: 
net.security::DataSetUpdate(ds = "cves")

## End(Not run)

net.security documentation built on June 25, 2017, 5:03 p.m.