diff --git a/NEWS.md b/NEWS.md index 59c45f4..9a3c3af 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,8 @@ -# regioncode 0.2.0 +# 0.2.1 + +- Corrected the region codes of Xinjiang + +# 0.2.0 - New function `rank` for level of cities - New method in `incomplete_name` so that the function can deal with input with only part of incomplete region names @@ -7,7 +11,7 @@ - full name of "Ning Xia" - Correct name of Xinjiang -# regioncode 0.1.1 +# 0.1.1 + Styled function with tidyverse style + Rewrote `method ` as `convert_to` @@ -16,7 +20,7 @@ + Simplified the codes. + Added more detailed warning messages. -# regioncode 0.0.9 +# 0.0.9 + Enable to provincial-level conversion with `province` + Fixed the error of `incompleteName` diff --git a/docs/articles/regioncode-vignette.html b/docs/articles/regioncode-vignette.html index 3044159..be98e32 100644 --- a/docs/articles/regioncode-vignette.html +++ b/docs/articles/regioncode-vignette.html @@ -90,7 +90,7 @@

regioncode: One-Step Solution for Chinese Region

HU Yue, YE Xinyi

-

2024-03-01

+

2024-03-07

Source: vignettes/regioncode-vignette.Rmd @@ -293,8 +293,8 @@

Incomplete Naming of Prefectures substr(start = 1, stop = 2) fake_incomplete -
##  [1] "济南"   "泰州市" "松江区" "宜昌"   "来宾"   "怀化"   "莆田市" "宜宾"  
-##  [9] "定安"   "襄阳"
+
##  [1] "济南市" "泰州"   "松江"   "宜昌"   "来宾"   "怀化市" "莆田"   "宜宾"  
+##  [9] "定安县" "襄阳"
 # Conversion to full names in 2008
 regioncode(data_input = fake_incomplete, 
@@ -684,7 +684,7 @@ 

Conclusion

Reference

-
+
Li, Rong, Zhenghui Xiong, and Zhenxing Zhang. 1987. The Language Atlas of China. London: Longman. diff --git a/docs/news/index.html b/docs/news/index.html index 35473c2..8c549d3 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -57,39 +57,6 @@

Changelog

Source: NEWS.md
-
- -
  • New function rank for level of cities
  • -
  • New method in incomplete_name so that the function can deal with input with only part of incomplete region names
  • -
  • Bug fix -
    • present Shaanxi, tibet, macao, hongkong, inner_mongolia correctly
    • -
    • full name of “Ning Xia”
    • -
    • Correct name of Xinjiang
    • -
  • -
-
- -
  • Styled function with tidyverse style
  • -
  • Rewrote method as convert_to -
  • -
  • Rewrote incompleteName as incomplete_name -
  • -
  • Rewrote language_region and language_trans as to_dialect -
  • -
  • Simplified the codes.
  • -
  • Added more detailed warning messages.
  • -
-
- -
  • Enable to provincial-level conversion with province -
  • -
  • Fixed the error of incompleteName -
  • -
  • Simplified the codes.
  • -
  • Add parameter topinyin & method “2area”
  • -
  • Remove unnecessary warning about ‘code2code’
  • -
  • Fix the bug in language_region
  • -