git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
Please make sure you are using the latest version of R (current version is 3.4.1) - the final digit is the minor version number. The essential numbers are the first two. You can check the version of R you are running via
R.version.string
Please install the latest version of RStudio (https://www.rstudio.com/products/rstudio/download/).
#Example syntax for Secure Copy (scp)
##What is Secure Copy?
scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh.
###Examples
Copy the file "foobar.txt" from a remote host to the local host
| ''' | |
| Netfonds import 5 days of intraday data | |
| ''' | |
| import numpy as np | |
| import pandas as p | |
| from pandas.tseries.offsets import * | |
| import datetime as dt | |
| import matplotlib.pyplot as plt | |
| size = (14,10) |
| import os | |
| import sys | |
| import pandas as pd | |
| import pandas_datareader.data as web | |
| import numpy as np | |
| import time | |
| import asyncio | |
| from fake_useragent import UserAgent | |
| '''set path variables''' | |
| project_dir = "YOUR/PROJECT/DIR" |
| import asyncio | |
| import aiohttp | |
| # ================================================ | |
| # for first run only | |
| class first_async_scraper: | |
| def __init__(self): | |
| pass | |
| async def _fetch(self, symbol, url, session, headers): |
| import pandas as pd | |
| import numpy as np | |
| import re | |
| # ================================================ | |
| class option_parser: | |
| def __init__(self, symbol, response): | |
| self.symbol = symbol | |
| self.response = response | |
| # ------------------------------------------------ |
| import pandas as pd | |
| import numpy as np | |
| import re | |
| # ================================================ | |
| class option_parser: | |
| def __init__(self, symbol, response): | |
| self.symbol = symbol | |
| self.response = response | |
| # ------------------------------------------------ |
s3://my-bucket/emr/bootstrap/install-rstudio-server.sh)