download_filtered_tags: Download Notes Metadata Summary

View source: R/database.R

download_filtered_tagsR Documentation

Download Notes Metadata Summary

Description

Downloads text_tag_x info for the metadata tags, along with "include" and/or "exclude" criteria in the core CEDARS search query.

Usage

download_filtered_tags(
  uri_fun,
  user,
  password,
  host,
  replica_set,
  port,
  database,
  eval_query = TRUE
)

Arguments

uri_fun

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

user

MongoDB user name.

password

MongoDB user password.

host

MongoDB server host.

replica_set

MongoDB replica set, if indicated.

port

MongoDB port.

database

MongoDB database name.

eval_query

Should tags be evaluated against stored CEDARS query?

Value

List containing one dataframe per text_tag_x of interest, indicating selected status. Can take time to download for large datasets.

Examples

## Not run: 
download_filtered_tags(uri_fun = mongo_uri_standard, user = 'John',
password = 'db_password_1234', host = 'server1234', replica_set = NA, port = NA,
database = 'TEST_PROJECT')

## End(Not run)

simon-hans/CEDARS documentation built on Feb. 14, 2024, 3:16 a.m.