R
package ScPoApps
This is the git repo for undergraduate Econometrics Apps at SciencesPo.
Book? If you are looking for the book, that's in the ScPoEconometrics repo.
Slides? If you are looking for the slides, they are in the ScPoEconometrics-Slides repo.
In order to participate in the course and to use the course material, you need to
R
: download for free at https://www.r-project.orgRStudio
IDE at RStudio.comRStudio
.R
package in your computer. To do so, just copy and paste those lines into your RStudio
console:if (!require(devtools)) {install.packages("devtools"); library(devtools)}
install_github(repo = "ScPoEcon/ScPoApps")
A key part of this course are a series of interactive applications (or apps) that we developed with the shiny
framework. You launch the apps from a running R
session on your computer. The app will run in your web browser. You launch an app like this from R
:
library(ScPoApps) # load our library
launchApp('SSR_cone') # runs the `SSR_cone` app in browser
launchApp() # no arg produces an error that shows all available apps
Error: Please run `launchApp()` with a valid app as an argument.
Valid apps are: 'anscombe', 'confidence_intervals', 'corr_continuous',
'datasaurus', 'reg_constrained', 'reg_dummy', 'reg_dummy_example',
'reg_full', 'reg_multivariate', 'reg_simple', 'reg_standardized',
'sampling', 'SSR_cone', 'standard_errors_changeN', 'standard_errors_simple'
Here is a screenshot of the SSR_cone
app:
In order to run the accompanying tutorials you would type, for example:
library(ScPoApps)
runTutorial("chapter3")
This section is only for people who want to contribute code to this project.
git clone url_of_your_fork
git checkout -b new_branch
upstream/master
:
git remote add upstream git@github.com:ScPoEcon/ScPoEconometrics.git
rebase
command
# git add your stuff
# git commit your stuff
git fetch upstream # get stuff from upstream
git rebase upstream/master # merge upstream master and put your commits on top of it
git push origin new_branch
upstream
(from your fork at github.com)This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
You are free to:
under the following terms: