Learn R Programming

trackr (version 0.10.7)

JSONBackend: JSON backend for trackr

Description

A JSON-file based backend. This is the default backend in trackr.

Usage

JSONBackend(file = normalizePath("./trackr_db_data.json"), data = list())

Arguments

file

character. The json "database" to use as a trackr backend

data

A list of records to pre-populate the backend with.

Value

A JSONBackend object, for use in creating a TrackrDB object.

Slots

data

list. An in-memory list representation of the data in the db

file

character. The file containing the db ( to read from and write to)

last_load

POSIXct. The last time data was updated from disk.