Skip to contents

Uses ResearchBox's API when a key is set (see rbox_token()), and reads the preregistration's web page otherwise, or when the API fails. See aspredicted_info() for the columns.

Usage

.aspredicted_info(ap_url, page = TRUE)

Arguments

ap_url

an AsPredicted URL

page

if FALSE, the web page is not read when the API fails (after AsPredicted asked for a captcha)

Value

a data frame of information; attribute route is "api" or "page" when that was asked