peel_off_embedded {gwasrapidd}R Documentation

Peels off the _embedded tier from a JSON-list.

Description

This function removes an element named _embedded from the element content moving all of its contents one level up. If obj$content$`_embedded` does not exist then returns obj untouched.

Usage

peel_off_embedded(obj)

Arguments

obj

A JSON-list.

Value

A JSON-list.


[Package gwasrapidd version 0.99.18 Index]