Learn R Programming

rstatscn (version 1.1.3)

statscnQueryLastN: fetch the lastN data

Description

fetch the lastN data for the latest query, only affect the number of rows in the returned data. This function can not be used alone , statscnQueryData() has to be called before this function

Usage

statscnQueryLastN(n)

Arguments

n

the number of rows to be fetched

Value

the last n rows data in the latest query

Examples

Run this code
# NOT RUN {
df=statscnQueryData('A0201',dbcode='hgnd')
df2=statscnQueryLastN(20)
# }

Run the code above in your browser using DataLab