Learn R Programming

osfr (version 0.1.1)

recurse_node: Function to crawl through OSF project

Description

Function to crawl through OSF project

Usage

recurse_node(id = NULL, private = FALSE, maxdepth = 5, path_id = FALSE)

Arguments

id

OSF parent ID (osf.io/XXXXX) to crawl

private

Boolean, search for private too?

maxdepth

Integer, amount of levels deep to crawl

path_id

Boolean, whether to return paths and ids

Value

List of OSF ids, with parents as very last.