Learn R Programming

osfr (version 0.1.1)

process_type: Identify type of endpoint for id

Description

This function takes an OSF id and returns the type of endpoint for that id. Only returns types for the nodes and files endpoints.

Usage

process_type(id)

Arguments

id

OSF id to check (osf.io/xxxxx).

Value

Endpoint of id as character (nodes | files)