R/conceptSet.R
writeConceptSet.Rd
The resulting concept Set JSON file can be imported into Atlas.
writeConceptSet(x, path, format = "auto", ...)
A Capr concept set created by `cs()`
Name of file to write to. (e.g. "concepts.json")
the file extension to write
additional arguments
anemia <- cs(descendants(439777,4013073,4013074), name = "anemia") writeConceptSet(anemia, file.path(tempdir(), 'anemia.json')) writeConceptSet(anemia, file.path(tempdir(), 'anemia.csv'))