patch: The firebase data patch function:

Description Usage Arguments Value Author(s) Examples

View source: R/index.R

Description

The function allows to update data objects, such as variables, lists and data.frames

Usage

1
patch(x, projectURL, directory = "main", token = "none")

Arguments

x

A list, data.frame or data.table object

projectURL

The Firebase project URL string

directory

The optimal Firebase subdirectory string

token

The user access token that can be retrieved with the auth() function. Required when if the database rules specify the need for user authentications. string

Value

returns http request answer.

Author(s)

Kevin McGinley

Examples

1
2
3
4
## Not run: 
patch(x = mtcars, projectURL = "https://firedata-b0e54.firebaseio.com/", directory = "main")

## End(Not run)

Kohze/fireData documentation built on Oct. 19, 2020, 8:19 a.m.