Skip to content

Update 05-document-term-matrices.Rmd #110

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

Closed
wants to merge 1 commit into from
Closed

Update 05-document-term-matrices.Rmd #110

wants to merge 1 commit into from

Conversation

loafing-cat
Copy link

The textbook uses the GoogleFinanceSource function, but it doesn't seem like Google is supported whatever API this function uses anymore. I found a StackOverFlow thread that suggested to use YahooFinanceSource.

I tried it, and it works. It also appears that the tm.plugin.webmining library is longer supported? Are there perhaps any other alternatives for future readers? Sorry I couldn't propose any new packages, as I'm not a developer and more of a user.

Stack Thread:
https://stackoverflow.com/questions/47790148/text-mining-with-tm-plugin-webmining-package-using-googlefinancesource-function

Cran removed package:
https://cran.r-project.org/web/packages/tm.plugin.webmining/index.html

The textbook uses the `GoogleFinanceSource` function, but it doesn't seem like Google is supported whatever API this function uses anymore. I found a StackOverFlow thread that suggested to use `YahooFinanceSource`.

I tried it, and it works. It also appears that the `tm.plugin.webmining ` library is longer supported? Are there perhaps any other alternatives for future readers? Sorry I couldn't propose any new packages, as I'm not a developer and more of a user.

Stack Thread:
https://stackoverflow.com/questions/47790148/text-mining-with-tm-plugin-webmining-package-using-googlefinancesource-function

Cran removed package:
https://cran.r-project.org/web/packages/tm.plugin.webmining/index.html
@juliasilge
Copy link
Owner

Related to #62

Unfortunately, I don't believe this change works 😞

If you want to run the examples directly as in the published book, you can clone this repo and use the data we "recorded"; notice load("data/stock_articles.rda"). Bigger picture, we need to figure out what dataset to use here instead. I've thought about the Tidy Tuesday NBER papers maybe.

@loafing-cat
Copy link
Author

Yes. I saw that alternative approach to running the code as well.

I mainly wanted to bring this up to your attention, but I wasn't sure what the best way to reach out would be.

Thanks for your work, as well as your co-authors Julia! 😃

@juliasilge
Copy link
Owner

GitHub is certainly the right spot! Thanks for reading the book and we'll track this in #62.

@juliasilge juliasilge closed this Jul 14, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants