Description Usage Arguments Examples
The fluctuation in the stock market can be reflected and predicted through the most updated news. This project takes news data as an illustration. Specifically, our goal is to find a method to collect and combine both sturctured (numerical) data from Yahoo Finance and unsturctured (text) data from NY Times together by web scraping data from APIs and further text cleaning.
1 | getDF(urls, key = Sys.getenv("NYTIMES_AS_KEY"))
|
urls |
The URLs that generated from "makeURL" function |
key |
Your New York Times API AS KEY |
1 2 | URLs <- makeURL(2000, 1, 2000, 2)
getDF(URLs, key = Sys.getenv("NYTIMES_AS_KEY"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.