Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xdevplatform/run-your-favorite-python-package-in-r
An example of how to call a the Twitter API from a Python package inside of R.
https://github.com/xdevplatform/run-your-favorite-python-package-in-r
python r twitter
Last synced: 2 days ago
JSON representation
An example of how to call a the Twitter API from a Python package inside of R.
- Host: GitHub
- URL: https://github.com/xdevplatform/run-your-favorite-python-package-in-r
- Owner: xdevplatform
- License: apache-2.0
- Created: 2020-06-10T14:41:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-26T19:56:16.000Z (over 4 years ago)
- Last Synced: 2024-04-22T01:00:35.064Z (7 months ago)
- Topics: python, r, twitter
- Language: R
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Run your favorite Python package in R
A code sample that shows you how to call the [Labs Recent Search endpoint](https://developer.twitter.com/en/docs/labs/recent-search/overview) using the Python package [Requests](https://requests.readthedocs.io/en/master/) inside of R. There is a [blog post](https://blog.twitter.com/developer/en_us/topics/tips/2020/running-the-python-package-for-search-tweets-in-r.html) on a related code sample available as well.
For this sample to run you will need to set up a configuration file with your secrets, a sample of this can be found under `secret.yaml`. Be sure to add your `secret.yaml` to your `.gitignore` and check out [our guide on securing keys and tokens](https://developer.twitter.com/en/docs/basics/authentication/guides/securing-keys-and-tokens).
Created by [Jessica Garson](https://twitter.com/jessicagarson) using [R Studio](https://rstudio.com/).
## Support
Create a [new issue](https://github.com/twitterdev/search-tweets-python-in-r/issues) on GitHub.
## Contributing
We feel that a welcoming community is important and we ask that you follow Twitter's
[Open Source Code of Conduct](https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md)
in all interactions with the community.## License
Copyright 2020 Twitter, Inc.
Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0