write_athena_net: Writes Athena CONCEPT table NET

Description Usage Arguments Value

View source: R/write_athena_net.R

Description

Writes Athena CONCEPT table NET

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
write_athena_net(
  phrases,
 
    path_to_athena_lookup = "/Users/meerapatel/GitHub/MSK_KMI_Enterprise/biblio-tech/CATALOGUE/Athena_Vocabulary_v5/LOOKUP.csv",
 
    path_to_net_dir = "/Users/meerapatel/GitHub/MSK_KMI_Enterprise/biblio-tech/CATALOGUE/Athena_Vocabulary_v5/NETS",
  sub_forward_slash = TRUE,
  trim_inner_space = TRUE,
  sub_underscore = TRUE,
  id_start_index = 60000,
  path_to_repo = NULL,
  return_lookup = TRUE
)

Arguments

phrases

character vector of length 1 or greater of queries

path_to_athena_lookup

path to lookup table

id_start_index

if number of rows of the lookup is 0, the starting index for the id number assigned

path_to_repo

if not NULL, will add, commit, and push each iterative change to origin master of the repo

Value

csv files for each unique phrase queried in concept table and at the conclusion of the interation, returns the most updated Athena lookup to the console


patelm9/cartographR3 documentation built on Dec. 27, 2019, 2:24 a.m.