Comments (3)
They should be printed as to distinguish between the string "NA." Is that not what's happening?
from rtweet.
For all other columns but those 3 (and for the github version mentions_user_id, mentions_screen_name, hashtags, urls and coordinates).
from rtweet.
This may not be so bad. I should update the docs either way, but those variables are recursive, and storing them as a matrix has advantages.
(r code below included b/c I was curious about NA printing and found this informative)
> dbl <- matrix(1:9, 3, 3)
> dbl
[,1] [,2] [,3]
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
> data.frame(dbl)
X1 X2 X3
1 1 4 7
2 2 5 8
3 3 6 9
> chr <- matrix(letters[1:9], 3, 3)
> chr
[,1] [,2] [,3]
[1,] "a" "d" "g"
[2,] "b" "e" "h"
[3,] "c" "f" "i"
> data.frame(chr)
X1 X2 X3
1 a d g
2 b e h
3 c f i
> dbl_na <- matrix(NA_real_, 3, 3)
> dbl_na
[,1] [,2] [,3]
[1,] NA NA NA
[2,] NA NA NA
[3,] NA NA NA
> data.frame(dbl_na)
X1 X2 X3
1 NA NA NA
2 NA NA NA
3 NA NA NA
> chr_na <- matrix(NA_character_, 3, 3)
> chr_na
[,1] [,2] [,3]
[1,] NA NA NA
[2,] NA NA NA
[3,] NA NA NA
> data.frame(chr_na)
X1 X2 X3
1 <NA> <NA> <NA>
2 <NA> <NA> <NA>
3 <NA> <NA> <NA>
from rtweet.
Related Issues (20)
- Information on whether a tweet has been quoted is missing HOT 7
- rweet not working with new paid Basic Twitter API v2 app, asking for elevated access HOT 1
- search_tweets fails with error 403 HOT 4
- OAuth 2.0 expected when OAuth 1.0 is also possible (tweet_post) HOT 19
- 404 retrieving timeline HOT 2
- Cryptic error message
- Error: Twitter API failed [403] HOT 1
- tweet_post with media HOT 11
- Automatic renewal of OAuth2 token HOT 17
- Testing new functions
- Error OAuth 2.0 post tweet via Free Access. HOT 1
- Fix rtweet for NULL not being atomic values on CRAN?
- Release rtweet 1.2.1 HOT 1
- auth_sitrep errors in old tokens/files
- `post_tweet()` with `rtweet_bot()` no longer works HOT 15
- Release rtweet 2.0.0
- API v2 not handling response body errors correctly for missing reference tweets HOT 1
- API v2 raising error on successful response HOT 5
- tweet_search_recent() HOT 3
- Problem with client authentication, and auth_sitrep() with no output HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtweet.