Bookdown project for Jean Clipperton's textbook. This is the source text for the Political Science 210 textbook: https://nulib-oer.github.io/empirical-methods-polisci/
If you're new to Git and R Studio, here is nice introduction to using these tools together.
Wihtin R Studio, Click on File
> New Project
> Version Control
> Git
Copy and Paste this in the Project URL
field: https://github.com/nulib-oer/empirical-methods-polisci.git
This downloads a copy of the empirical-methods-polisci
project folder and git history to your machine.
-
Install the Bookdown R package from an R Studio R console (bookdown installation instructions):
> install.packages('bookdown')
-
If you reload your R studio session or double-click the
empirical-methods-polisci.Rproj
file, the interface will change to include some Bookdown buttons, likeBuild Book
. -
You can now edit each individual chapter file and preview the changes locally with Bookdown.
-
Steps three and four in this tutorial discuss committing changes to your local git repostory copy and pushing them back up to the GitHub version.
-
Any updates to the
main
branch in GitHub will automatically trigger a new version of the website (takes a few minutes for the update to go live): https://nulib-oer.github.io/empirical-methods-polisci/