Code samples for getting data from the Twitter API v2 in Python and R This folder contains the code samples for getting Twitter data using the Twitter API v2 in Python and R. Check out module 6 for instructions on how to use these code samples, based on your use-cases.