Skip to contents

Parse an OSF API response into a data frame

Usage

.osf_parse_response(resp, pb = NULL, osf_id = NA_character_)

Arguments

resp

an httr2 response

pb

a progress bar

osf_id

the ID this response is for, used in the messages. Without it a failure could only report "NA could not be found", which tells the reader nothing about which of their IDs was wrong.

Value

a single-row data frame