statscnQueryLastN: fetch the lastN data

Description Usage Arguments Value References Examples

View source: R/getNBS.R

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

1

Arguments

n

the number of rows to be fetched

Value

the last n rows data in the latest query

References

Xuehui YANG (2016). rstatscn: R Interface for China National Data. R package version 1.1.1. https://CRAN.R-project.org/package=rstatscn

Examples

1
2
3
4
5
## Not run: 
df=statscnQueryData('A0201',dbcode='hgnd')
df2=statscnQueryLastN(20)

## End(Not run)

Yuanchao-Xu/gfer documentation built on Feb. 7, 2022, 7:11 a.m.