Uses the redcap R package to export from redcap and apply metadata