patchTable: PATCH entries in database table

Description Usage Arguments Value

Description

using the package httr, update entries in certain fields in given rows of a table

Usage

1
patchTable(database_table_url, auth_token, update_df, id_col)

Arguments

database_table_url

NO TRAILING '/'. eg "http://18.224.181.136/api/v1/QualityAssess"

auth_token

see brentlabRnaSeqTools::getUserAuthToken()

update_df

a dataframe, preferrably a tibble, already read in, subsetted. Columns must be correct data type for db table

id_col

name of the id column of the table. this number will be appended to the url to create the uri for the record

Value

a list of httr::response() objects


cmatKhan/brentlabRnaSeqTools documentation built on Nov. 17, 2021, 5:47 a.m.