[英]R - List to Data Frame to CSV file
也許我想念一些東西,這很簡單,如果我道歉的話。 我嘗試了多種不同的方法,每種方法都會導致自己的獨特問題。
我有一個混合數據列表。 數字,布爾值,字符串等。某些列是布爾值。 有些是數字的。 有些是字符串。
它是3行24列。
這是一個簡單的示例,每個示例較少,但將演示我想要的內容。
name boolVal quote postNum
Tom TRUE Howdy everyone! 1337
Tom FALSE Twitter is fun! 1338
Dara FALSE When it actually works lol. 24
因此,將其存儲為變量“ allMentions”,typeof(allMentions)返回“ list”,dim(allMentions)返回3 24,但是在此玩具示例中為3 4
我想盡可能不丟失數據類型...,我想將此列表保存到CSV文件。
為此,我需要將其轉換為數據幀。
保留我的數據並將其保存到.csv文件以供以后分析的“最佳”方法是什么?
編輯1:被要求提供str(allMentions)
'data.frame': 3 obs. of 24 variables:
$ metadata :'data.frame': 3 obs. of 2 variables:
..$ iso_language_code: chr "en" "en" "en"
..$ result_type : chr "recent" "recent" "recent"
$ created_at : chr "Thu Oct 22 01:19:44 +0000 2015" "Thu Oct 22 01:15:46 +0000 2015" "Wed Oct 21 20:01:57 +0000 2015"
$ id : num 6.57e+17 6.57e+17 6.57e+17
etc with the rest of my variables and values
'data.frame': 3 obs. of 24 variables:
$ metadata :'data.frame': 3 obs. of 2 variables:
..$ iso_language_code: chr "en" "en" "en"
..$ result_type : chr "recent" "recent" "recent"
$ created_at : chr "Thu Oct 22 01:19:44 +0000 2015" "Thu Oct 22 01:15:46 +0000 2015" "Wed Oct 21 20:01:57 +0000 2015"
$ id : num 6.57e+17 6.57e+17 6.57e+17
$ id_str : chr "657003367575760896" "657002373307568129" "656923397985816576"
$ text : chr "@esorarad It worked, in case youre curious, since I keep bothering you." "@esorarad still testing!!" "@esorarad Hey Dara! Tweeting at you so I can test a program I'm making :P Hopeful game night in the near future!"
$ source : chr "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>" "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>" "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>"
$ truncated : logi FALSE FALSE FALSE
$ in_reply_to_status_id : logi NA NA NA
$ in_reply_to_status_id_str: logi NA NA NA
$ in_reply_to_user_id : num 1.51e+09 1.51e+09 1.51e+09
$ in_reply_to_user_id_str : chr "1512420228" "1512420228" "1512420228"
$ in_reply_to_screen_name : chr "esorarad" "esorarad" "esorarad"
$ user :'data.frame': 3 obs. of 40 variables:
..$ id : num 75328338 75328338 75328338
..$ id_str : chr "75328338" "75328338" "75328338"
..$ name : chr "Thomas" "Thomas" "Thomas"
..$ screen_name : chr "uName" "uName" "uName"
..$ location : chr "Philadelphia PA" "Philadelphia PA" "Philadelphia PA"
..$ description : chr "" "" ""
..$ url : logi NA NA NA
..$ entities :'data.frame': 3 obs. of 1 variable:
.. ..$ description:'data.frame': 3 obs. of 1 variable:
.. .. ..$ urls:List of 3
.. .. .. ..$ : list()
.. .. .. ..$ : list()
.. .. .. ..$ : list()
..$ protected : logi FALSE FALSE FALSE
..$ followers_count : num 36 36 36
..$ friends_count : num 244 244 244
..$ listed_count : num 1 1 1
..$ created_at : chr "Fri Sep 18 16:56:20 +0000 2009" "Fri Sep 18 16:56:20 +0000 2009" "Fri Sep 18 16:56:20 +0000 2009"
..$ favourites_count : num 121 121 121
..$ utc_offset : num -18000 -18000 -18000
..$ time_zone : chr "Quito" "Quito" "Quito"
..$ geo_enabled : logi FALSE FALSE FALSE
..$ verified : logi FALSE FALSE FALSE
..$ statuses_count : num 616 616 616
..$ lang : chr "en" "en" "en"
..$ contributors_enabled : logi FALSE FALSE FALSE
..$ is_translator : logi FALSE FALSE FALSE
..$ is_translation_enabled : logi FALSE FALSE FALSE
..$ profile_background_color : chr "C0DEED" "C0DEED" "C0DEED"
..$ profile_background_image_url : chr "http://abs.twimg.com/images/themes/theme1/bg.png" "http://abs.twimg.com/images/themes/theme1/bg.png" "http://abs.twimg.com/images/themes/theme1/bg.png"
..$ profile_background_image_url_https: chr "https://abs.twimg.com/images/themes/theme1/bg.png" "https://abs.twimg.com/images/themes/theme1/bg.png" "https://abs.twimg.com/images/themes/theme1/bg.png"
..$ profile_background_tile : logi FALSE FALSE FALSE
..$ profile_image_url : chr "http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg"
..$ profile_image_url_https : chr "https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg"
..$ profile_link_color : chr "0084B4" "0084B4" "0084B4"
..$ profile_sidebar_border_color : chr "C0DEED" "C0DEED" "C0DEED"
..$ profile_sidebar_fill_color : chr "DDEEF6" "DDEEF6" "DDEEF6"
..$ profile_text_color : chr "333333" "333333" "333333"
..$ profile_use_background_image : logi TRUE TRUE TRUE
..$ has_extended_profile : logi FALSE FALSE FALSE
..$ default_profile : logi TRUE TRUE TRUE
..$ default_profile_image : logi FALSE FALSE FALSE
..$ following : logi FALSE FALSE FALSE
..$ follow_request_sent : logi FALSE FALSE FALSE
..$ notifications : logi FALSE FALSE FALSE
$ geo : logi NA NA NA
$ coordinates : logi NA NA NA
$ place : logi NA NA NA
$ contributors : logi NA NA NA
$ is_quote_status : logi FALSE FALSE FALSE
$ retweet_count : num 0 0 0
$ favorite_count : num 0 0 0
$ entities :'data.frame': 3 obs. of 4 variables:
..$ hashtags :List of 3
.. ..$ : list()
.. ..$ : list()
.. ..$ : list()
..$ symbols :List of 3
.. ..$ : list()
.. ..$ : list()
.. ..$ : list()
..$ user_mentions:List of 3
.. ..$ :'data.frame': 1 obs. of 5 variables:
.. .. ..$ screen_name: chr "esorarad"
.. .. ..$ name : chr "esorarad"
.. .. ..$ id : num 1.51e+09
.. .. ..$ id_str : chr "1512420228"
.. .. ..$ indices :List of 1
.. .. .. ..$ : num 0 9
.. ..$ :'data.frame': 1 obs. of 5 variables:
.. .. ..$ screen_name: chr "esorarad"
.. .. ..$ name : chr "esorarad"
.. .. ..$ id : num 1.51e+09
.. .. ..$ id_str : chr "1512420228"
.. .. ..$ indices :List of 1
.. .. .. ..$ : num 0 9
.. ..$ :'data.frame': 1 obs. of 5 variables:
.. .. ..$ screen_name: chr "esorarad"
.. .. ..$ name : chr "esorarad"
.. .. ..$ id : num 1.51e+09
.. .. ..$ id_str : chr "1512420228"
.. .. ..$ indices :List of 1
.. .. .. ..$ : num 0 9
..$ urls :List of 3
.. ..$ : list()
.. ..$ : list()
.. ..$ : list()
$ favorited : logi FALSE FALSE FALSE
$ retweeted : logi FALSE FALSE FALSE
$ lang : chr "en" "en" "en"
下一個...
dput(droplevels(head(allMentions)))
structure(list(metadata = structure(list(iso_language_code = c("en",
"en", "en"), result_type = c("recent", "recent", "recent")), .Names = c("iso_language_code",
"result_type"), row.names = c(NA, 3L), class = "data.frame"),
created_at = c("Thu Oct 22 01:19:44 +0000 2015", "Thu Oct 22 01:15:46 +0000 2015",
"Wed Oct 21 20:01:57 +0000 2015"), id = c(657003367575761024,
657002373307568000, 656923397985816960), id_str = c("657003367575760896",
"657002373307568129", "656923397985816576"), text = c("@esorarad It worked, in case youre curious, since I keep bothering you.",
"@esorarad still testing!!", "@esorarad Hey Dara! Tweeting at you so I can test a program I'm making :P Hopeful game night in the near future!"
), source = c("<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>",
"<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>"
), truncated = c(FALSE, FALSE, FALSE), in_reply_to_status_id = c(NA,
NA, NA), in_reply_to_status_id_str = c(NA, NA, NA), in_reply_to_user_id = c(1512420228,
1512420228, 1512420228), in_reply_to_user_id_str = c("1512420228",
"1512420228", "1512420228"), in_reply_to_screen_name = c("esorarad",
"esorarad", "esorarad"), user = structure(list(id = c(75328338,
75328338, 75328338), id_str = c("75328338", "75328338", "75328338"
), name = c("Thomas", "Thomas", "Thomas"
), screen_name = c("uName", "uName", "uName"), location = c("Philadelphia PA",
"Philadelphia PA", "Philadelphia PA"), description = c("",
"", ""), url = c(NA, NA, NA), entities = structure(list(description = structure(list(
urls = list(list(), list(), list())), .Names = "urls", row.names = c(NA,
3L), class = "data.frame")), .Names = "description", row.names = c(NA,
3L), class = "data.frame"), protected = c(FALSE, FALSE, FALSE
), followers_count = c(36, 36, 36), friends_count = c(244,
244, 244), listed_count = c(1, 1, 1), created_at = c("Fri Sep 18 16:56:20 +0000 2009",
"Fri Sep 18 16:56:20 +0000 2009", "Fri Sep 18 16:56:20 +0000 2009"
), favourites_count = c(121, 121, 121), utc_offset = c(-18000,
-18000, -18000), time_zone = c("Quito", "Quito", "Quito"),
geo_enabled = c(FALSE, FALSE, FALSE), verified = c(FALSE,
FALSE, FALSE), statuses_count = c(616, 616, 616), lang = c("en",
"en", "en"), contributors_enabled = c(FALSE, FALSE, FALSE
), is_translator = c(FALSE, FALSE, FALSE), is_translation_enabled = c(FALSE,
FALSE, FALSE), profile_background_color = c("C0DEED",
"C0DEED", "C0DEED"), profile_background_image_url = c("http://abs.twimg.com/images/themes/theme1/bg.png",
"http://abs.twimg.com/images/themes/theme1/bg.png", "http://abs.twimg.com/images/themes/theme1/bg.png"
), profile_background_image_url_https = c("https://abs.twimg.com/images/themes/theme1/bg.png",
"https://abs.twimg.com/images/themes/theme1/bg.png",
"https://abs.twimg.com/images/themes/theme1/bg.png"),
profile_background_tile = c(FALSE, FALSE, FALSE), profile_image_url = c("http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg",
"http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg",
"http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg"
), profile_image_url_https = c("https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg",
"https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg",
"https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg"
), profile_link_color = c("0084B4", "0084B4", "0084B4"
), profile_sidebar_border_color = c("C0DEED", "C0DEED",
"C0DEED"), profile_sidebar_fill_color = c("DDEEF6", "DDEEF6",
"DDEEF6"), profile_text_color = c("333333", "333333",
"333333"), profile_use_background_image = c(TRUE, TRUE,
TRUE), has_extended_profile = c(FALSE, FALSE, FALSE),
default_profile = c(TRUE, TRUE, TRUE), default_profile_image = c(FALSE,
FALSE, FALSE), following = c(FALSE, FALSE, FALSE), follow_request_sent = c(FALSE,
FALSE, FALSE), notifications = c(FALSE, FALSE, FALSE)), .Names = c("id",
"id_str", "name", "screen_name", "location", "description",
"url", "entities", "protected", "followers_count", "friends_count",
"listed_count", "created_at", "favourites_count", "utc_offset",
"time_zone", "geo_enabled", "verified", "statuses_count",
"lang", "contributors_enabled", "is_translator", "is_translation_enabled",
"profile_background_color", "profile_background_image_url",
"profile_background_image_url_https", "profile_background_tile",
"profile_image_url", "profile_image_url_https", "profile_link_color",
"profile_sidebar_border_color", "profile_sidebar_fill_color",
"profile_text_color", "profile_use_background_image", "has_extended_profile",
"default_profile", "default_profile_image", "following",
"follow_request_sent", "notifications"), row.names = c(NA,
3L), class = "data.frame"), geo = c(NA, NA, NA), coordinates = c(NA,
NA, NA), place = c(NA, NA, NA), contributors = c(NA, NA,
NA), is_quote_status = c(FALSE, FALSE, FALSE), retweet_count = c(0,
0, 0), favorite_count = c(0, 0, 0), entities = structure(list(
hashtags = list(list(), list(), list()), symbols = list(
list(), list(), list()), user_mentions = list(structure(list(
screen_name = "esorarad", name = "esorarad", id = 1512420228,
id_str = "1512420228", indices = list(c(0, 9))), .Names = c("screen_name",
"name", "id", "id_str", "indices"), class = "data.frame", row.names = 1L),
structure(list(screen_name = "esorarad", name = "esorarad",
id = 1512420228, id_str = "1512420228", indices = list(
c(0, 9))), .Names = c("screen_name", "name",
"id", "id_str", "indices"), class = "data.frame", row.names = 1L),
structure(list(screen_name = "esorarad", name = "esorarad",
id = 1512420228, id_str = "1512420228", indices = list(
c(0, 9))), .Names = c("screen_name", "name",
"id", "id_str", "indices"), class = "data.frame", row.names = 1L)),
urls = list(list(), list(), list())), .Names = c("hashtags",
"symbols", "user_mentions", "urls"), row.names = c(NA, 3L
), class = "data.frame"), favorited = c(FALSE, FALSE, FALSE
), retweeted = c(FALSE, FALSE, FALSE), lang = c("en", "en",
"en")), .Names = c("metadata", "created_at", "id", "id_str",
"text", "source", "truncated", "in_reply_to_status_id", "in_reply_to_status_id_str",
"in_reply_to_user_id", "in_reply_to_user_id_str", "in_reply_to_screen_name",
"user", "geo", "coordinates", "place", "contributors", "is_quote_status",
"retweet_count", "favorite_count", "entities", "favorited", "retweeted",
"lang"), row.names = c(NA, 3L), class = "data.frame")
這是我的變量“ allMentions”。 我想將此確切表保存到CSV。
metadata.iso_language_code metadata.result_type created_at id id_str
1 en recent Thu Oct 22 01:19:44 +0000 2015 6.570034e+17 657003367575760896
2 en recent Thu Oct 22 01:15:46 +0000 2015 6.570024e+17 657002373307568129
3 en recent Wed Oct 21 20:01:57 +0000 2015 6.569234e+17 656923397985816576
text
1 @esorarad It worked, in case youre curious, since I keep bothering you.
2 @esorarad still testing!!
3 @esorarad Hey Dara! Tweeting at you so I can test a program I'm making :P Hopeful game night in the near future!
source truncated in_reply_to_status_id in_reply_to_status_id_str
1 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a> FALSE NA NA
2 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a> FALSE NA NA
3 <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a> FALSE NA NA
in_reply_to_user_id in_reply_to_user_id_str in_reply_to_screen_name user.id user.id_str user.name user.screen_name
1 1512420228 1512420228 esorarad 75328338 75328338 Thomas uName
2 1512420228 1512420228 esorarad 75328338 75328338 Thomas uName
3 1512420228 1512420228 esorarad 75328338 75328338 Thomas uName
user.location user.description user.url user.urls user.protected user.followers_count user.friends_count user.listed_count
1 Philadelphia PA NA NULL FALSE 36 244 1
2 Philadelphia PA NA NULL FALSE 36 244 1
3 Philadelphia PA NA NULL FALSE 36 244 1
user.created_at user.favourites_count user.utc_offset user.time_zone user.geo_enabled user.verified
1 Fri Sep 18 16:56:20 +0000 2009 121 -18000 Quito FALSE FALSE
2 Fri Sep 18 16:56:20 +0000 2009 121 -18000 Quito FALSE FALSE
3 Fri Sep 18 16:56:20 +0000 2009 121 -18000 Quito FALSE FALSE
user.statuses_count user.lang user.contributors_enabled user.is_translator user.is_translation_enabled user.profile_background_color
1 616 en FALSE FALSE FALSE C0DEED
2 616 en FALSE FALSE FALSE C0DEED
3 616 en FALSE FALSE FALSE C0DEED
user.profile_background_image_url user.profile_background_image_url_https user.profile_background_tile
1 http://abs.twimg.com/images/themes/theme1/bg.png https://abs.twimg.com/images/themes/theme1/bg.png FALSE
2 http://abs.twimg.com/images/themes/theme1/bg.png https://abs.twimg.com/images/themes/theme1/bg.png FALSE
3 http://abs.twimg.com/images/themes/theme1/bg.png https://abs.twimg.com/images/themes/theme1/bg.png FALSE
user.profile_image_url
1 http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg
2 http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg
3 http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg
user.profile_image_url_https user.profile_link_color
1 https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg 0084B4
2 https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg 0084B4
3 https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg 0084B4
user.profile_sidebar_border_color user.profile_sidebar_fill_color user.profile_text_color user.profile_use_background_image
1 C0DEED DDEEF6 333333 TRUE
2 C0DEED DDEEF6 333333 TRUE
3 C0DEED DDEEF6 333333 TRUE
user.has_extended_profile user.default_profile user.default_profile_image user.following user.follow_request_sent user.notifications
1 FALSE TRUE FALSE FALSE FALSE FALSE
2 FALSE TRUE FALSE FALSE FALSE FALSE
3 FALSE TRUE FALSE FALSE FALSE FALSE
geo coordinates place contributors is_quote_status retweet_count favorite_count entities.hashtags entities.symbols
1 NA NA NA NA FALSE 0 0 NULL NULL
2 NA NA NA NA FALSE 0 0 NULL NULL
3 NA NA NA NA FALSE 0 0 NULL NULL
entities.user_mentions entities.urls favorited retweeted lang
1 esorarad, esorarad, 1512420228, 1512420228, 0, 9 NULL FALSE FALSE en
2 esorarad, esorarad, 1512420228, 1512420228, 0, 9 NULL FALSE FALSE en
3 esorarad, esorarad, 1512420228, 1512420228, 0, 9 NULL FALSE FALSE en
好的...我沒有回答您的問題,因為我認為CSV文件不是正確的格式,但是這是JSON版本(我認為它保留了雨天的結構)。
保存數據
library(jsonlite)
dput(serializeJSON(allMentions), file="lala.json")
讀入數據
library(jsonlite)
indata <- unserializeJSON(fromJSON("lala.json"))
這使
metadata.iso_language_code metadata.result_type created_at
1 en recent Thu Oct 22 01:19:44 +0000 2015
2 en recent Thu Oct 22 01:15:46 +0000 2015
3 en recent Wed Oct 21 20:01:57 +0000 2015
id id_str
1 6.570034e+17 657003367575760896
2 6.570024e+17 657002373307568129
3 6.569234e+17 656923397985816576
和str(indata)
產生
'data.frame': 3 obs. of 24 variables:
$ metadata :'data.frame': 3 obs. of 2 variables:
..$ iso_language_code: chr "en" "en" "en"
..$ result_type : chr "recent" "recent" "recent"
$ created_at : chr "Thu Oct 22 01:19:44 +0000 2015" "Thu Oct 22 01:15:46 +0000 2015" "Wed Oct 21 20:01:57 +0000 2015"
$ id : num 6.57e+17 6.57e+17 6.57e+17
$ id_str : chr "657003367575760896" "657002373307568129" "656923397985816576"
$ text : chr "@esorarad It worked, in case youre curious, since I keep bothering you." "@esorarad still testing!!" "@esorarad Hey Dara! Tweeting at you so I can test a program I'm making :P Hopeful game night in the near future!"
$ source : chr "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>" "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>" "<a href=\"http://twitter.com\" rel=\"nofollow\">Twitter Web Client</a>"
$ truncated : logi FALSE FALSE FALSE
$ in_reply_to_status_id : logi NA NA NA
$ in_reply_to_status_id_str: logi NA NA NA
$ in_reply_to_user_id : num 1.51e+09 1.51e+09 1.51e+09
$ in_reply_to_user_id_str : chr "1512420228" "1512420228" "1512420228"
$ in_reply_to_screen_name : chr "esorarad" "esorarad" "esorarad"
$ user :'data.frame': 3 obs. of 40 variables:
..$ id : num 75328338 75328338 75328338
..$ id_str : chr "75328338" "75328338" "75328338"
..$ name : chr "Thomas" "Thomas" "Thomas"
..$ screen_name : chr "uName" "uName" "uName"
..$ location : chr "Philadelphia PA" "Philadelphia PA" "Philadelphia PA"
..$ description : chr "" "" ""
..$ url : logi NA NA NA
..$ entities :'data.frame': 3 obs. of 1 variable:
.. ..$ description:'data.frame': 3 obs. of 1 variable:
.. .. ..$ urls:List of 3
.. .. .. ..$ : list()
.. .. .. ..$ : list()
.. .. .. ..$ : list()
..$ protected : logi FALSE FALSE FALSE
..$ followers_count : num 36 36 36
..$ friends_count : num 244 244 244
..$ listed_count : num 1 1 1
..$ created_at : chr "Fri Sep 18 16:56:20 +0000 2009" "Fri Sep 18 16:56:20 +0000 2009" "Fri Sep 18 16:56:20 +0000 2009"
..$ favourites_count : num 121 121 121
..$ utc_offset : num -18000 -18000 -18000
..$ time_zone : chr "Quito" "Quito" "Quito"
..$ geo_enabled : logi FALSE FALSE FALSE
..$ verified : logi FALSE FALSE FALSE
..$ statuses_count : num 616 616 616
..$ lang : chr "en" "en" "en"
..$ contributors_enabled : logi FALSE FALSE FALSE
..$ is_translator : logi FALSE FALSE FALSE
..$ is_translation_enabled : logi FALSE FALSE FALSE
..$ profile_background_color : chr "C0DEED" "C0DEED" "C0DEED"
..$ profile_background_image_url : chr "http://abs.twimg.com/images/themes/theme1/bg.png" "http://abs.twimg.com/images/themes/theme1/bg.png" "http://abs.twimg.com/images/themes/theme1/bg.png"
..$ profile_background_image_url_https: chr "https://abs.twimg.com/images/themes/theme1/bg.png" "https://abs.twimg.com/images/themes/theme1/bg.png" "https://abs.twimg.com/images/themes/theme1/bg.png"
..$ profile_background_tile : logi FALSE FALSE FALSE
..$ profile_image_url : chr "http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "http://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg"
..$ profile_image_url_https : chr "https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg" "https://pbs.twimg.com/profile_images/563789490821410817/vB2dhVj1_normal.jpeg"
..$ profile_link_color : chr "0084B4" "0084B4" "0084B4"
..$ profile_sidebar_border_color : chr "C0DEED" "C0DEED" "C0DEED"
..$ profile_sidebar_fill_color : chr "DDEEF6" "DDEEF6" "DDEEF6"
..$ profile_text_color : chr "333333" "333333" "333333"
..$ profile_use_background_image : logi TRUE TRUE TRUE
..$ has_extended_profile : logi FALSE FALSE FALSE
..$ default_profile : logi TRUE TRUE TRUE
..$ default_profile_image : logi FALSE FALSE FALSE
..$ following : logi FALSE FALSE FALSE
..$ follow_request_sent : logi FALSE FALSE FALSE
..$ notifications : logi FALSE FALSE FALSE
$ geo : logi NA NA NA
$ coordinates : logi NA NA NA
$ place : logi NA NA NA
$ contributors : logi NA NA NA
$ is_quote_status : logi FALSE FALSE FALSE
$ retweet_count : num 0 0 0
$ favorite_count : num 0 0 0
$ entities :'data.frame': 3 obs. of 4 variables:
..$ hashtags :List of 3
.. ..$ : list()
.. ..$ : list()
.. ..$ : list()
..$ symbols :List of 3
.. ..$ : list()
.. ..$ : list()
.. ..$ : list()
..$ user_mentions:List of 3
.. ..$ :'data.frame': 1 obs. of 5 variables:
.. .. ..$ screen_name: chr "esorarad"
.. .. ..$ name : chr "esorarad"
.. .. ..$ id : num 1.51e+09
.. .. ..$ id_str : chr "1512420228"
.. .. ..$ indices :List of 1
.. .. .. ..$ : num 0 9
.. ..$ :'data.frame': 1 obs. of 5 variables:
.. .. ..$ screen_name: chr "esorarad"
.. .. ..$ name : chr "esorarad"
.. .. ..$ id : num 1.51e+09
.. .. ..$ id_str : chr "1512420228"
.. .. ..$ indices :List of 1
.. .. .. ..$ : num 0 9
.. ..$ :'data.frame': 1 obs. of 5 variables:
.. .. ..$ screen_name: chr "esorarad"
.. .. ..$ name : chr "esorarad"
.. .. ..$ id : num 1.51e+09
.. .. ..$ id_str : chr "1512420228"
.. .. ..$ indices :List of 1
.. .. .. ..$ : num 0 9
..$ urls :List of 3
.. ..$ : list()
.. ..$ : list()
.. ..$ : list()
$ favorited : logi FALSE FALSE FALSE
$ retweeted : logi FALSE FALSE FALSE
$ lang : chr "en" "en" "en"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.