parse_nitrc_packs: Parse Packages from NITRC List

Description Usage Arguments Value Examples

Description

Parses the list of projects from nitrc_remote_data to a data.frame of packages

Usage

1

Arguments

proj

List of projects returned from nitrc_remote_data

Value

data.frame

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
js = nitrc_remote_data(spec = "all")
proj = js$projects
doc_df = parse_nitrc_packs(proj)
projects = parse_nitrc_proj(proj, add_attr = TRUE)
dproj = projects[ tolower(projects$attr_name) %in% "data", ]
data_doc = doc_df[ doc_df$proj_id %in% dproj$proj_id, ]
data_doc$type = trimws(data_doc$type)
data_doc$type = trimws(gsub("^Source", "", data_doc$type))

## End(Not run)

muschellij2/nitrc documentation built on May 23, 2019, 9:53 a.m.