nxt.newAccountsTimeSeries: Generate a timeseries of creation of new NXT accounts

Description Usage Arguments Value Author(s) See Also

Description

This function returns a timeseries of the number of new NXT accounts created on each timestep since the genesis block. Timestep is controlable, but defaults to daily.

Usage

1
nxt.newAccountsTimeSeries(con, timestep = "daily", ts.from.db = TRUE)

Arguments

con

Connection object to the NXT H2 database

timestep

Size of timestep to use for generating timeseries. Can be a number of seconds for each timestep or "daily" (default), "weekly", "monthly" or "yearly".

ts.from.db

Boolean. If TRUE (default), convert timestamps to POSIXct, otherwise keep them in seconds since genesis block.

Value

A data.frame with the following columns:

TIMESTAMP

Timestamp at the start of the timestep

N_ACCOUNT

Total number of NXT accounts existing at the end of the timestep

D_ACCOUNT

Number of new NXT accounts created during the timestep

Author(s)

David M. Kaplan dmkaplan2000@gmail.com

See Also

nxt.dbConnect, nxt.convert.ts


dmkaplan2000/Rxt documentation built on May 15, 2019, 9:35 a.m.