Coder Social home page Coder Social logo

psychbruce / chinesenames Goto Github PK

View Code? Open in Web Editor NEW
138.0 3.0 22.0 7.42 MB

๐Ÿ€„ Chinese Name Database (1930-2008).

Home Page: https://psychbruce.github.io/ChineseNames/

License: GNU General Public License v3.0

R 100.00%
chinese names database r r-package big-data chinese-name chinese-names name

chinesenames's Introduction

chinesenames's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chinesenames's Issues

Error in nchar(name) : invalid multibyte string, element 1

library(ChineseNames)
library(bruceR)
demodata
name birth
1 \xb0\xfc\xba\xae\xce\xe2หช 1995
2 \xb3ยฟ\xa1\xc1\xd8 1995
3 \xd5\xc5\u03b0 1985
4 \xd5\xc5\xec\xbf 1988
5 ลท\xd1\xf4\xd0\xde 1968
6 ลท\xd1\xf4 2010
7 \xd2\xd7\xec\xc8วง\xe7\xf4 2000
8 \xd5\xc5\xd2\xd5ฤฑ 1950
9 \xcd\xf5\xb5\xc4 2005

compute_name_index(demodata, var.fullname="name", var.birthyear="birth")
Error in nchar(name) : invalid multibyte string, element 1

Encoding issues when installing from Github

I am trying to install the ChineseNames package from Github: devtools::install_github("psychbruce/ChineseNames")

I get the following encoding error:

* installing *source* package 'ChineseNames' ...
** using staged installation
** R
Error : (converted from warning) unable to re-encode 'ChineseNames.R' lines 371, 373, 393, 394, 396, 397, 399, 400, 401, 402, 404, 405, 406, 407, 408, 410
ERROR: unable to collate and parse R files for package 'ChineseNames'
* removing 'D:/Apps/R-4.0.2/library/ChineseNames'
Error: Failed to install 'ChineseNames' from GitHub:
  (converted from warning) installation of package โ€˜C:/Users/gaute/AppData/Local/Temp/RtmpGO9Izu/file36c4726265b3/ChineseNames_0.6.0.tar.gzโ€™ had non-zero exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.