Unicode list to integer ; R -
one of variables in data frame unicode (all cases numbers).
head(total$page) [u'0'] [u'0'] [u'6'] [u'1'] [u'2']
how convert integers, that:
head(total$page) 0, 0, 6, 1, 2
thanks.
edit. dput:
dput(head(total$page)) structure(c(1l, 1l, 36l, 2l, 13l, 4l), .label = c("[u'0']", "[u'1']", "[u'10']", "[u'11']", "[u'12']", "[u'13']", "[u'14']", "[u'15']", "[u'16']", "[u'17']", "[u'18']", "[u'19']", "[u'2']", "[u'20']", "[u'21']", "[u'22']", "[u'23']", "[u'24']", "[u'25']", "[u'26']", "[u'27']", "[u'28']", "[u'29']", "[u'3']", "[u'30']", "[u'31']", "[u'32']", "[u'33']", "[u'34']", "[u'35']", "[u'37']", "[u'38']", "[u'39']", "[u'4']", "[u'5']", "[u'6']", "[u'67']", "[u'7']", "[u'8']", "[u'9']", "[]", "[u'36']", "[u'40']", "[u'41']", "[u'42']", "[u'43']", "[u'44']"), class = "factor")
Comments
Post a Comment