initialize_annotations: Initialize Annotations Deletes all NLP annotations and...

Description Usage Arguments Value Examples

View source: R/database.R

Description

Initialize Annotations Deletes all NLP annotations and patient-specific information, including clinical event dates.New, empty 'ANNOTATIONS' and 'PATIENTS' collections are created. Dictionaries and original patient notes are preserved.

Usage

1
initialize_annotations(uri_fun, user, password, host, port, database)

Arguments

uri_fun

Uniform resource identifier (URI) string generating function for MongoDB credentials.

user

MongoDB user name.

password

MongoDB user password.

host

MongoDB host server.

port

MongoDB port.

database

MongoDB database name.

Value

Confirmation that requested operation was completed, or error message if attempt failed.

Examples

1
2
3
4
5
## Not run: 
initialize_annotations(uri_fun = mongo_uri_standard, user = 'John', password = 'db_password_1234',
host = 'server1234', port = NA, database = 'TEST_PROJECT')

## End(Not run)

CEDARS documentation built on Feb. 7, 2021, 5:06 p.m.