Learn R Programming

rClinicalCodes (version 1.0.1)

codelists_for_ro: Associates lists of clinical codes with a ClinicalCodes research object

Description

This function uses the codelist_url slot in a Research object to download codelists

Usage

codelists_for_ro(ro)

Arguments

ro
an object of class ResearchObject

Value

a new ResearchObject with associated clinicalcodes dataframes for all codelists

Details

Internally it calls the get_clinicalcodes() function with a url argument

Examples

Run this code
## Not run: 
# # get research object without codes
# RO <- research_object(article_id = 2, download_codes = FALSE)
# # associate codes
# RO <- codelists_for_ro(RO)
# ## End(Not run)

Run the code above in your browser using DataLab