get_valtx: get_valtx

Description Usage Arguments Examples

Description

Create a .csv file for each blocknr/blockhash which contains the transaction_id and the blocknumber

Usage

1
get_valtx(blocknr, blockhash, writecsv = FALSE, filename)

Arguments

blocknr

vector of blocknumbers

blockhash

vector of the corresponding blockhashes

writecsv

logical, should a .csv file be created

filename

optional: the name of the file(s) to be created (has to be "xxx.csv")

Examples

1
2
3
4
5
6
7
8
## Not run: 
blocknr <- 491464:491465
hash <- c("000000000000000000744807b0696371c148e33fc2b26d8bd1d4de304eda4681",
"0000000000000000003bf8b86a1238d87946e41da066bcafad9a3d93c65dac31")
get_valtx(blocknr = blocknr, blockhash = hash, writecsv = TRUE)
get_valtx(blocknr = blocknr, blockhash = hash, writecsv = TRUE, filename = c("a.csv", "b.csv"))

## End(Not run)

thomas-hillebrand/bcdataprep_node documentation built on May 7, 2019, 9:40 a.m.