-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errror "Unknown or uninitialised column:" #6
Comments
I haven't updated rtweetXtras for rtweet 1.0 as yet. v1.0 of rtweet delivers a completely different data structure from v0.7, and this means that I need to rewrite every function and unfortunately have not had time to do this as yet.
So, unless you can install and use rtweetv0.7, I'm afraid that rweetXtras simply won't work for you right now.
________________________________
From: pokemaster974 ***@***.***>
Sent: Sunday, October 2, 2022 12:26:10 PM
To: Arf9999/rtweetXtras ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [Arf9999/rtweetXtras] Errror "Unknown or uninitialised column:" (Issue #6)
I got errors when I try examples listed in your readme.
I have R 4.2.1 and rtweet 1.0.2, so I need rtweetXtras from your master branch and not legacy branch.
When I check the rtweetXtras' version, I got this :
Package: rtweetXtras
Title: Extra Analysis Functions for rtweet package
Version: 0.4.1.0000
I don't know if it's the last or not (I've installed it via remotes::install_github("arf9999/rtweetXtras")
My error is Unknown or uninitialised column:
Here is a log of the errors :
df <- rtweet::get_timeline("jack", n=100)
rtweetXtras::hashtagcloud(df, n=200)
Attachement du package : ‘dplyr’
Les objets suivants sont masqués depuis ‘package:stats’:
filter, lag
Les objets suivants sont masqués depuis ‘package:base’:
intersect, setdiff, setequal, union
Package version: 3.2.3
Unicode version: 13.0
ICU version: 69.1
Parallel computing: 8 of 8 threads used.
See https://quanteda.io for tutorials and examples.
Error in `dplyr::filter()`:
! Problem while computing `..1 = !is.na(rtweet_timeline_df$hashtags)`.
✖ Input `..1` must be of size 100 or 1, not size 0.
Run `�]8;;rstudio:run:rlang::last_error()rlang::last_error()�]8;;` to see where the error occurred.
Message d'avis :
Unknown or uninitialised column: `hashtags`.
df1 <- rtweet::search_tweets("rstats",lang = "en", n=2000)
rtweetXtras::profilecloud(df1, 100)
Error in `dplyr::filter()`:
! Problem while computing `..1 = !is.na(rtweet_timeline_df$description)`.
✖ Input `..1` must be of size 1977 or 1, not size 0.
Run `�]8;;rstudio:run:rlang::last_error()rlang::last_error()�]8;;` to see where the error occurred.
Message d'avis :
Unknown or uninitialised column: `description`.
colnames(df)
[1] "created_at" "id" "id_str" "full_text" "truncated" "display_text_range" "entities" "source" "in_reply_to_status_id"
[10] "in_reply_to_status_id_str" "in_reply_to_user_id" "in_reply_to_user_id_str" "in_reply_to_screen_name" "geo" "coordinates" "place" "contributors" "retweeted_status"
[19] "is_quote_status" "retweet_count" "favorite_count" "favorited" "retweeted" "lang" "possibly_sensitive" "quoted_status_id" "quoted_status_id_str"
[28] "quoted_status_permalink" "quoted_status" "text" "favorited_by" "scopes" "display_text_width" "quote_count" "timestamp_ms" "reply_count"
[37] "filter_level" "metadata" "query" "withheld_scope" "withheld_copyright" "withheld_in_countries" "possibly_sensitive_appealable"
Regards
—
Reply to this email directly, view it on GitHub<#6>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AIY5MIIURPYR4PVP7DQCKU3WBFPMFANCNFSM6AAAAAAQ226VW4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Thanks for your reply, maybe it's my fault that I've misunderstood the readme, especially this part :
I don't know if you want to close my issue, I let open but it's up to you. Regards. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got errors when I try examples listed in your readme.
I have R 4.2.1 and rtweet 1.0.2, so I need rtweetXtras from your master branch and not legacy branch.
When I check the rtweetXtras' version, I got this :
I don't know if it's the last or not (I've installed it via
remotes::install_github("arf9999/rtweetXtras")
My error is "Unknown or uninitialised column:"
Here is a log of the errors :
Regards
The text was updated successfully, but these errors were encountered: