Skip to contents

This method allows you to read in the metadata for a project. To use this method, you must have API Export privileges in the project. If you're starting a new project and want to bulk upload records, you return = "template" to get a blank data.frame to populate. Otherwise, set return = "dictionary" to see all specs about project. You can send this dictionary to others to upload into their instance of REDCap.

Usage

redcap_metadata(url, token, forms = NULL, return = c("dictionary", "template"))

Arguments

url

Character, API url.

token

Character, token from project.

forms

Vector, if not specified will include all forms.

return

Character, dictionary or template. If bulk uploading new records, use template.

Value

Data.frame with project metadata.