Skip to content

regioncode

0.2.1

Convert Region Names and Division Codes of China Over Years

0packages depend
3.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Yue HuFirst published 2021-02-235 releasesCRAN page ↗GitHub ↗

A tool to conquer the difficulties to convert various region names and administration division codes of Chinese regions. The current version enables seamlessly converting Chinese regions' formal names, common-used names, and codes between each other at the city level from 1986 to 2019.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
Yes
README
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

3.5K
CRAN downloads in the past year
Rank #7,683 · ~10/day · ~290/mo
Daily download trend is not available in this view yet.
42830 days
1.5K90 days
3.5K1 year
Compare downloads with other packages →
Also on113 r2u26 autocran

Repository

Repository
13Stars
5Forks
7Open issues
0Open PRs
3Releases
307Commits
14Contributors
307 commits · Last activity 2026-06-24 · 0% stars, 30d

Stars over time

2025-05-23 · 112026-07-07 · 13

Dependencies

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

Nothing depends on this yet.

Code & Tests

Code Composition
Vignettes 451 (34%)Markdown 382 (28%)R 336 (25%)Rd 99 (7%)Other 74 (6%)
Code characteristics
Cyclomatic complexity
18.5 median / 24 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

2 1 exported

Complexity

18.5 avg / 24 max

Call network

2 nodes / 1 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Author
Author
Author
Release timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1Latest
    2026-04-07 · current release · diff ↗
  • 0.2.0
    2025-07-05 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.2
    2024-03-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    2021-08-02 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    2021-02-23
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-23
Total releases
5 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6.0
Bundled data
19 KB / 1 file
Download size
525 KB
Installed size
not tracked yet
With dependencies
not tracked yet