| docs | ||
| hacking_religion | ||
| .gitignore | ||
| functions_reference.R | ||
| README.md | ||
Hacking Religion
An open textbook introducing data science to religious studies (or vice versa)
You can view a live demo of the book here: [https://kidwellj.github.io/hacking_religion_textbook/intro.html]
The course here has been compiled with quarto, and so the live instance of the course is compiled from openly accessible resources located in this repository. If you're interested in doing something similar, there are a number of other options, some of which have lamentably turned commercial, including: bookdown, gitbook, mkdocs, readthedocs which technically uses Sphinx or daux.
Top level files and directories in this repository are:
README.mdthis README file displayed on Githubhacking_religiona folder containing the quarto code and accompanying files which are used to render the book in html and .pdf formatsdocsa rendered sample version of the most recent version of the book (used for )
Directory structure for hacking_religion includes:
_quarto.ymlQuarto setup informationpreface.qmdPrefaceindex.qmdIntroduction and overview to bookchapter_1.qmdChapter 1: working with UK Census religion datachapter_2.qmdChapter 2: survey datachapter_3.qmdChapter 3: geospatial data"chapter_4.qmdChapter 4: data scraping, corpus analysis and wordcloudschapter_5.qmdWhat's next?appendix_a.qmdSetting up reproducible workspaceappendix_b.qmdUseful referencesreferences.biba bibliography of items used for the course in BibTeX formatcover.pngThe book coverdatabased on a reproducible research structure - contains datasets used for analysis.derived_datacontains files which represent modified forms of files in the above path.figurescontains images and visualisations (graphic files) which are generated by R.
How to produce books from this repository:
- clone this repository using
git clone https://github.com/kidwellj/hacking_religion_textbook.git(install git if you haven't already) - install quarto
- install the necessary pre-requisite R libraries, including
knitr,rmarkdown,ragg(primarily necessary if running R on MacOS), andhere. This can be done by running the following commands in an RStudio console:install.packages("knitr") install.packages("rmarkdown") - change to the
hacking_religionsubdirectory and runquarto previewto get a temporary preview of the book as a website running on your local PC. - alternatively you can render a copy of the book using
quarto render.
Cookbook
There is a companion repository which contains recipes which will replicate the example data used in the book. This can be found here: [https://github.com/kidwellj/hacking_religion_cookbook]
Copyright
Content here, unless otherwise indicated are copyright by Jeremy H. Kidwell. Please re-use them as they are covered by Creative Commons Attribution 4.0 International Licence (CC BY 4.0).