Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang-hang committed Jul 21, 2016
1 parent a69f14f commit a862dd6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: rstatscn
Type: Package
Title: R Interface for China National Data
Version: 1.1.1
Date: 2015-11-24
Date: 2016-07-20
Author: Xuehui YANG
Maintainer: Xuehui YANG <jianghang@bagualu.net>
Description: R interface for china national data http://data.stats.gov.cn/,
Expand Down
5 changes: 4 additions & 1 deletion R/rstatscn.R
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,15 @@ statscnQueryLastN<-function(n)
#' statscnRowNamePrefix
#'
#' set the rowName prefix in the dataframe
#'
#' in case you encounter the following error:
#' Error in `row.names<-.data.frame`(`*tmp*`, value = value) :
#' duplicate 'row.names' are not allowed
#' you need to call this function
#'
#' @param p="nrow" , this is the only supported value, it is the default value as well
#' @param p , how to set the rowname prefix.
#' it is 'nrow' by default , and it is the only supported value currently
#' to unset the row name prefix, call this function with p=NULL
#' @return no return
#' @export
statscnRowNamePrefix<-function(p="nrow")
Expand Down
6 changes: 5 additions & 1 deletion man/statscnRowNamePrefix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a862dd6

Please sign in to comment.