# NOT RUN {
# return only the parsed tibble
enzymes_polypeptide_syn()
# will throw an error, as database_connection is NULL
enzymes_polypeptide_syn(save_table = TRUE)
# save in database in SQLite in memory database and return parsed tibble
sqlite_con <- DBI::dbConnect(RSQLite::SQLite())
enzymes_polypeptide_syn(save_table = TRUE, database_connection = sqlite_con)
# save parsed tibble as csv if it does not exist in current
# location and return parsed tibble.
# If the csv exist before read it and return its data.
enzymes_polypeptide_syn(save_csv = TRUE)
# save in database, save parsed tibble as csv if it does
# not exist in current location and return parsed tibble.
# If the csv exist before read it and return its data.
enzymes_polypeptide_syn(save_table = TRUE, save_csv = TRUE,
database_connection = sqlite_con)
# save parsed tibble as csv if it does not exist in
# given location and return parsed tibble.
# If the csv exist before read it and return its data.
enzymes_polypeptide_syn(save_csv = TRUE, csv_path = TRUE)
# save parsed tibble as csv if it does not exist in current
# location and return parsed tibble.
# If the csv exist override it and return it.
enzymes_polypeptide_syn(
save_csv = TRUE, csv_path = TRUE,
override = TRUE
)
# }
Run the code above in your browser using DataLab