Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

put vote measure, issue, and result into data output #24

Open
zeldela opened this issue Jul 11, 2021 · 0 comments
Open

put vote measure, issue, and result into data output #24

zeldela opened this issue Jul 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@zeldela
Copy link
Contributor

zeldela commented Jul 11, 2021

new_tweets = new_tweets.append(
                        {
                            "tweet_id": status.id_str,
                            "congress": self.congress,
                            "session": self.session,
                            "date": item["vote_date"],
                            "vote": item["vote_number"],
                            **party_data,
                            **vote_data,
                        },
                        ignore_index=True,
                    )

into something like

new_tweets = new_tweets.append(
                        {
                            "tweet_id": status.id_str,
                            "congress": self.congress,
                            "session": self.session,
                            "date": item["vote_date"],
                            "vote": item["vote_number"],
                            *"vote_measure": (cleaned vote measure),*
                            *"vote_issue": (cleaned vote issue),*
                            *"vote_result": (cleaned vote result),*
                            **party_data,
                            **vote_data,
                        },
                        ignore_index=True,
                    )
@zeldela zeldela added the enhancement New feature or request label Jul 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant