nxt.getActivityTimeSeries: Generate a timeseries of NXT transaction activity

Description Usage Arguments Value Author(s) See Also

Description

This function returns a timeseries of the number of NXT transactions by type, amount of NXT transferred, fees paid, etc. on each timestep since the genesis block. Timestep is controlable, but defaults to daily.

Usage

1
nxt.getActivityTimeSeries(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_TRANS

Total number of transactions of all types per timestep

NXT_SENT

Amount of NXT sent per timestep

FEE_PAID

Total fees paid per timestep

N_SEND

Number of times NXT sent per timestep

N_MESSAGE

Number of messages sent per timestep

N_ALIAS_ASSIGN

Number of alias assignment transactions per timestemp

N_COLORED_TRANS

Number of colored coin transactions per timestep

N_DIST_SENDER

Number of distinct transaction sender accounts

N_DIST_RECIP

Number of distinct transaction recipient accounts

N_BLOCK

Number of blocks per timestep

N_BLOCK_FEE

Number of blocks with fee per timestep

N_BLOCK_NOFEE

Number of blocks without fee per timestep

N_DIST_GENER

Number of distinct block generators per timestep

N_DIST_GENER_FEE

Number of distinct block generators with fee per timestep

MEAN_BASE_TARGET

Mean of base target

MEAN_INV_TARGET

Mean of 1.0/(base target)

MIN_BASE_TARGET

Minimum base target per timestep

MAX_BASE_TARGET

Maximum base target per 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.