Skip to content

CNID

2.1.1

Get Basic Information from Chinese ID Number

0packages depend
2.3Kdownloads / year
46.4%test coverage
13/13checks pass

Overview

About
Maintained by Xinyuan ChuFirst published 2023-09-136 releasesCRAN page ↗GitHub ↗

The Chinese ID number contains a lot of information, this package helps you get the region, date of birth, age, age based on year, gender, zodiac, constellation information from the Chinese ID number.

Install

Health

CRAN checks
13OK
Slowest check: 49 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.02
46.4%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 129 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #18,440 · ~6/day · ~193/mo
Daily download trend is not available in this view yet.
17330 days
58190 days
2.3K1 year
Compare downloads with other packages →
Also on111 r2u2 autocran

Repository

Repository
1Stars
1Forks
0Open issues
0Open PRs
1Releases
21Commits
2Contributors
21 commits · Last activity 2025-04-11 · 0% stars, 30d

Stars over time

2026-06-23 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/chuxinyuan/cnid on 2026-08-03.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.1Latest
    2025-04-11 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.1.0
    2025-03-17 · diff ↗
  • 2.0.2
    2025-02-28 · diff ↗
  • 2.0.1
    2025-02-24 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.1
    2023-10-24 · diff ↗
  • 1.3
    2023-09-13
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-09-13
Total releases
6 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
44 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("CNID")

CRAN DOI

https://doi.org/10.32614/CRAN.package.CNID

BibTeX, derived from DESCRIPTION

@Manual{CNID,
  title  = {CNID: Get Basic Information from Chinese ID Number},
  author = {Chu, Xinyuan},
  year   = {2025},
  note   = {R package version 2.1.1},
  doi    = {10.32614/CRAN.package.CNID},
  url    = {https://CRAN.R-project.org/package=CNID}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryCNID,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {CNID} version 2.1.1},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/CNID},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CNID version 2.1.1 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/CNID

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for CNID version 2.1.1
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/CNID
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/CNID.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy