write_rxnorm_path_lookup | R Documentation |
Write the tibble returned by read_rxnorm_paths()
to a
Postgres table.
write_rxnorm_path_lookup( conn, conn_fun = "pg13::local_connect()", target_schema = "rxmap", table_name = "lookup_rxnorm_paths", umls_version, umls_release_dt, url = "https://lhncbc.nlm.nih.gov/RxNav/applications/RxNavViews.html#label:appendix", check_for_updates = FALSE, verbose = TRUE, render_sql = TRUE, render_only = FALSE, checks = "" )
conn |
Database connection via DatabaseConnector. |
conn_fun |
Instead of supplying of a direct database connection, an expression can be supplied that automatically connects and disconnects the connection once the function is run. |
url |
Source URL. It is not hardcoded in case the URL changes in the future. Default: 'https://lhncbc.nlm.nih.gov/RxNav/applications/RxNavViews.html#label:appendix' |
verbose |
If TRUE, details on the activity are returned in the console, such as when the querying starting and was completed. |
render_sql |
If TRUE, the SQL statement for the operation is returned in the console. |
Other RxNorm Map:
get_rxnorm_ingredient_map()
,
get_rxnorm_map()
,
get_rxnorm_tty_lookup()
,
read_rxnorm_paths()
,
setup_rxmap()
,
write_rxnorm_map()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.