Skip to content

Commit

Permalink
[2023.8]
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce committed Aug 9, 2023
1 parent ee09e9b commit 167ba1c
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 19 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
@@ -1,6 +1,7 @@
data-raw
data-csv
logo
docs
^.Rhistory$
^.*\.Rproj$
^\.Rproj\.user$
Expand Down
48 changes: 45 additions & 3 deletions .gitignore
@@ -1,7 +1,49 @@
.Rproj.user
# History files
.Rhistory
.Rapp.history

# Session Data files
.RData

# User-specific files
.Ruserdata
data-raw
^cran-comments.md$

# Example code in package build process
*-Ex.R

# Output files from R CMD build
/*.tar.gz

# Output files from R CMD check
/*.Rcheck/

# RStudio files
.Rproj.user/

# produced vignettes
vignettes/*.html
vignettes/*.pdf

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth

# knitr and R markdown default cache directories
*_cache/
/cache/

# Temporary files created by R markdown
*.utf8.md
*.knit.md

# R Environment Variables
.Renviron

# CRAN
^cran-comments\.md$
^CRAN-RELEASE$
^CRAN-SUBMISSION$

# Others
data-raw
docs
pkgdown
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
@@ -0,0 +1,3 @@
Version: 2023.8
Date: 2023-08-08 10:20:17 UTC
SHA: ee09e9b8ac8373f9033479f9e7c4b14d07a1bf90
20 changes: 10 additions & 10 deletions DESCRIPTION
@@ -1,7 +1,7 @@
Package: ChineseNames
Title: Chinese Name Database 1930-2008
Version: 2023.8
Date: 2023-08-07
Date: 2023-08-08
Authors@R:
c(person(given = "Han-Wu-Shuang",
family = "Bao",
Expand All @@ -10,15 +10,15 @@ Authors@R:
comment = c(ORCID = "0000-0003-3043-710X")))
Maintainer: Han-Wu-Shuang Bao <baohws@foxmail.com>
Description:
A database of Chinese surnames and Chinese given names (1930-2008).
This database contains nationwide frequency statistics of
1,806 Chinese surnames and 2,614 Chinese characters used in given names,
covering about 1.2 billion Han Chinese population
(96.8% of the Han Chinese household-registered population
born from 1930 to 2008 and still alive in 2008).
This package also contains a function for computing multiple features of
Chinese surnames and Chinese given names for scientific research (e.g.,
name uniqueness, name gender, name valence, and name warmth/competence).
A database of Chinese surnames and Chinese given names (1930-2008).
This database contains nationwide frequency statistics of
1,806 Chinese surnames and 2,614 Chinese characters used in given names,
covering about 1.2 billion Han Chinese population
(96.8% of the Han Chinese household-registered population
born from 1930 to 2008 and still alive in 2008).
This package also contains a function for computing multiple features of
Chinese surnames and Chinese given names for scientific research (e.g.,
name uniqueness, name gender, name valence, and name warmth/competence).
License: GPL-3
Encoding: UTF-8
LazyData: true
Expand Down
6 changes: 3 additions & 3 deletions NEWS.md
@@ -1,4 +1,4 @@
**Please check the [latest news (change log)](https://psychbruce.github.io/bruceR/news/index.html) and keep this package updated.**
**Please check the [latest news (change log)](https://psychbruce.github.io/ChineseNames/news/index.html) and keep this package updated.**

# ChineseNames 2023.8

Expand All @@ -8,12 +8,12 @@

- Added new reference ([Bao et al., 2021](https://doi.org/10.3389/fpsyg.2021.731244)).

# ChineseNames 1.1.0 (June 2021)
# ChineseNames 1.1.0 (Jun 2021)

- Improved the speed of the function `compute_name_index()` for processing data with large sample size.
- Added CSV data files.
- Added LOGO.

# ChineseNames 1.0.0 (March 2021)
# ChineseNames 1.0.0 (Mar 2021)

- Initial release on CRAN.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -25,7 +25,7 @@ Han-Wu-Shuang (Bruce) Bao 包寒吴霜
- Bao, H.-W.-S. (2023). *ChineseNames: Chinese Name Database 1930-2008*. R package version 2023.8. <https://CRAN.R-project.org/package=ChineseNames>
- Bao, H.-W.-S., Cai, H., Jing, Y., & Wang, J. (2021). Novel evidence for the increasing prevalence of unique names in China: A reply to Ogihara. *Frontiers in Psychology, 12*, 731244. <https://doi.org/10.3389/fpsyg.2021.731244>

## Install
## Installation

``` r
## Method 1: Install from CRAN
Expand Down
6 changes: 4 additions & 2 deletions _pkgdown.yml
Expand Up @@ -3,5 +3,7 @@ template:
bootstrap: 5
bootswatch: simplex
bslib:
heading_font: {google: "Roboto"}
base_font: {google: "Roboto"}
base_font:
google: "Roboto"
heading_font:
google: "Lexend" # Anton, Oswald, Ubuntu, Lexend, Fjalla One

0 comments on commit 167ba1c

Please sign in to comment.