Giter VIP home page Giter VIP logo

Comments (3)

bdong-CLS avatar bdong-CLS commented on June 18, 2024

Thank you in advance and I am relatively new to Github.

I have been using the "get_hashtag_tweets" function recently (thanks a lot!) but wonder if the function only provides information from tweet.fields as a data frame (when not specifying the file string and data_path string). The original "get_tweets" function includes tweet.fields, user.fields, expansions, and place.fields in the parameters lists. And when I use the "get_tweets" function, I do get a list of length 4: data, includes, errors, and meta (though it does not come with automatic pagination). When I use "get_hashtag_tweets" function, it seems to me that only response fields from tweet.fields are presented in the data frame.

Did I miss something or do something wrong? For example, right now, I can only see "author_id" without knowing "name" or "username" in the data frame after "get_hashtag_tweets".

Thank you again!

from academictwitter.

justinchuntingho avatar justinchuntingho commented on June 18, 2024

The user fields are not parsed and therefore not returned by the function. It would be possible to get back the names by the function in PR #12 . I think it makes sense to parse and return some user data or add option to control what is returned. Let me look into it.

from academictwitter.

bdong-CLS avatar bdong-CLS commented on June 18, 2024

Thanks for the reply! Appreciate it.

Thanks a lot again for working on "academictwitteR".

from academictwitter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.