Unicode {ISOcodes}R Documentation

Unicode Data

Description

Basic Unicode data, including the Universal Character Set (UCS) code points as defined by the ISO/IEC 10646 International Standard.

Usage

data("Unicode")

Format

A data frame with the following variables:

Code:
a character vector with the UCS/Unicode hex codes
Name:
a character vector with the Unicode character names
General_Category:
a factor providing a basic classification into various character types.
Canonical_Combining_Class:
a factor giving the classes used for the Canonical Ordering Algorithm in the Unicode Standard.
Bidi_Class:
a factor giving the categories required by the Bidirectional Behavior Algorithm in the Unicode Standard.
Decomposition:
a character vector giving the decomposition types and mappings published with the character names in the Unicode Standard.
Numeric_Value_Decimal_Digit:
a character vector giving the numeric (integer) value of the character if it has the decimal digit property.
Numeric_Value_Digit:
a character vector giving the numeric (integer) value of the character if it has the digit property.
Numeric_Value:
a character vector goving the numeric (integer or rational) value of the character if it has the numeric property.
Bidi_Mirrored:
a factor with levels "Y" and "N" indicating whether the character has been identified as a “mirrored” character in bidirectional text or not.
Unicode_1_Name:
a character vector with the old name as published in Unicode 1.0.
ISO_Comment:
a character vector with the ISO 10646 comment.
Simple_Uppercase_Mapping:
a character vector with the (hex code of the) simple uppercase mapping. Omitted if the uppercase is the same as the code point itself.
Simple_Lowercase_Mapping:
a character vector with the (hex code of the) simple lowercase mapping. Omitted if the lowercase is the same as the code point itself.
Simple_Titlecase_Mapping:
a character vector with the (hex code of the) simple titlecase mapping. Omitted if the titlecase is the same as the code point itself.

Details

Variable General_Category has the following property values (levels).
Lu Letter, Uppercase
Ll Letter, Lowercase
Lt Letter, Titlecase
Lm Letter, Modifier
Lo Letter, Other
Mn Mark, Nonspacing
Mc Mark, Spacing Combining
Me Mark, Enclosing
Nd Number, Decimal Digit
Nl Number, Letter
No Number, Other
Pc Punctuation, Connector
Pd Punctuation, Dash
Ps Punctuation, Open
Pe Punctuation, Close
Pi Punctuation, Initial quote (may behave like Ps or Pe depending on usage)
Pf Punctuation, Final quote (may behave like Ps or Pe depending on usage)
Po Punctuation, Other
Sm Symbol, Math
Sc Symbol, Currency
Sk Symbol, Modifier
So Symbol, Other
Zs Separator, Space
Zl Separator, Line
Zp Separator, Paragraph
Cc Other, Control
Cf Other, Format
Cs Other, Surrogate
Co Other, Private Use
Cn Other, Not Assigned (no characters in the file have this property)

Variable Canonical_Combining_Class has the following property values (levels).
0 Spacing, split, enclosing, reordrant, and Tibetan subjoined
1 Overlays and interior
7 Nuktas
8 Hiragana/Katakana voicing marks
9 Viramas
10 Start of fixed position classes
199 End of fixed position classes
200 Below left attached
202 Below attached
204 Below right attached
208 Left attached (reordrant around single base character)
210 Right attached
212 Above left attached
214 Above attached
216 Above right attached
218 Below left
220 Below
222 Below right
224 Left (reordrant around single base character)
226 Right
228 Above left
230 Above
232 Above right
233 Double below
234 Double above
240 Below (iota subscript)

Variable Bidi_Class has the following property values (levels).
L Left-to-Right
LRE Left-to-Right Embedding
LRO Left-to-Right Override
R Right-to-Left
AL Right-to-Left Arabic
RLE Right-to-Left Embedding
RLO Right-to-Left Override
PDF Pop Directional Format
EN European Number
ES European Number Separator
ET European Number Terminator
AN Arabic Number
CS Common Number Separator
NSM Non-Spacing Mark
BN Boundary Neutral
B Paragraph Separator
S Segment Separator
WS Whitespace
ON Other Neutrals

The decomposition types in variable Decomposition are as follows.
<font> A font variant (e.g., a blackletter form).
<noBreak> A no-break version of a space or hyphen.
<initial> An initial presentation form (Arabic).
<medial> A medial presentation form (Arabic).
<final> A final presentation form (Arabic).
<isolated> An isolated presentation form (Arabic).
<circle> An encircled form.
<super> A superscript form.
<sub> A subscript form.
<vertical> A vertical layout presentation form.
<wide> A wide (or zenkaku) compatibility character.
<narrow> A narrow (or hankaku) compatibility character.
<small> A small variant form (CNS compatibility).
<square> A CJK squared font variant.
<fraction> A vulgar fraction form.
<compat> Otherwise unspecified compatibility character.

Source

http://www.unicode.org/Public/UNIDATA/UnicodeData.txt

References

http://en.wikipedia.org/wiki/Unicode, http://en.wikipedia.org/wiki/ISO_10646; http://www.unicode.org/Public/UNIDATA/UCD.html for details on the Unicode data sets.


[Package ISOcodes version 0.2-3 Index]