research_object: Downloads Research objects for articles from www.clinicalcodes.org
Description
This function builds an R representation of a ClinicalCodes
Research object
Usage
research_object(article_ids, download_codes = FALSE, trim = 50)
Arguments
article_ids
integer representiong the id of a
www.ClinicalCodes.org article
download_codes
logical should the individual code
lists be downloaded as part of the research object?
trim
integer How many characters from titles
should be included in list names for multiple codelists?
Value
an object of class ResearchObject (R representation of a
ClinicalCodes research object)
Details
The ResearchObject contains metadata describing the article
(URI, abstract, ID, title, authors, doi, journal etc.),
comments on the article, codelist metadata (associated
articles, name, url, number of codes in the list, user
field names, comments) and optional full codelists. The
individual codelists can be downloaded directly with the
download_codes argument set to TRUE. Otherwise they can be
associated later using the codelists_for_ro() function