Skip to content
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

Desperately Seeking Schema #22

Open
jpallas opened this issue Aug 10, 2018 · 3 comments
Open

Desperately Seeking Schema #22

jpallas opened this issue Aug 10, 2018 · 3 comments

Comments

@jpallas
Copy link

jpallas commented Aug 10, 2018

It would be nice if the table in the README could be updated with information about the type of each field. In particular, for those fields that are enumerated constants (such as post_type and account_type), list the set of valid values and for all fields indicate whether they are nullable. Since the data format is not raw Twitter data, maybe a link to https://help.salesforce.com/articleView?id=mc_ss_csv_report_headers.htm&type=5 would be helpful, too.

@bet4a
Copy link

bet4a commented Aug 10, 2018

I’m not 100% certain about which fields may be nullable. But here’s a list of enumerated constant field values, for what it’s worth:

  • account_category
    • Commercial
    • Fearmonger
    • HashtagGamer
    • LeftTroll
    • NewsFeed
    • NonEnglish
    • RightTroll
    • Unknown
  • account_type (nullable)
    • ?
    • Arabic
    • Commercial
    • Ebola  (contains a trailing space)
    • French
    • German
    • Hashtager
    • Italian
    • Koch
    • left
    • local
    • news
    • Portuguese
    • right
    • Right
    • Russian
    • Spanish
    • Ukranian
    • Uzbek
    • ZAPOROSHIA
  • language (possibly nullable?)
    • Albanian
    • Arabic
    • Bengali
    • Bulgarian
    • Catalan
    • Croatian
    • Czech
    • Danish
    • Dutch
    • English
    • Estonian
    • Farsi (Persian)
    • Finnish
    • French
    • German
    • Greek
    • Gujarati
    • Hebrew
    • Hindi
    • Hungarian
    • Icelandic
    • Indonesian
    • Italian
    • Japanese
    • Kannada
    • Korean
    • Kurdish
    • LANGUAGE UNDEFINED
    • Latvian
    • Lithuanian
    • Macedonian
    • Malay
    • Malayalam
    • Norwegian
    • Polish
    • Portuguese
    • Pushto
    • Romanian
    • Russian
    • Serbian
    • Simplified Chinese
    • Slovak
    • Slovenian
    • Somali
    • Spanish
    • Swedish
    • Tagalog (Filipino)
    • Tamil
    • Telugu
    • Thai
    • Traditional Chinese
    • Turkish
    • Ukrainian
    • Urdu
    • Uzbek
    • Vietnamese
  • post_type (nullable)
    • QUOTE_TWEET
    • RETWEET
  • region (nullable)
    • Afghanistan
    • Austria
    • Azerbaijan
    • Belarus
    • Canada
    • Czech Republic
    • Denmark
    • Egypt
    • Estonia
    • Finland
    • France
    • Germany
    • Greece
    • Hong Kong
    • India
    • "Iran, Islamic Republic of"
    • Iraq
    • Israel
    • Italy
    • Japan
    • Latvia
    • Malaysia
    • Mexico
    • Russian Federation
    • Samoa
    • Saudi Arabia
    • Serbia
    • Spain
    • Sweden
    • Switzerland
    • Turkey
    • Ukraine
    • United Arab Emirates
    • United Kingdom
    • United States
    • Unknown

@EvanCarroll
Copy link

EvanCarroll commented Aug 25, 2018

@EvanCarroll
Copy link

New Version 2.0 Schema for PostgreSQL. We now have Primary Keys (unique twitter ids), and int8 account ids. https://github.com/EvanCarroll/russian-troll-tweets/blob/version_2/PostgreSQL/create.psql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants