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
2
DataSetUpdate(ds = "all", samples = FALSE, use.remote = TRUE,
  force.update = FALSE, wizard = FALSE)

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

force.update

if TRUE it will rebuil the package at last step.

wizard

if TRUE launch an interactive menu with some help.

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)

r-net-tools/net-security documentation built on Jan. 15, 2018, 5:07 a.m.