synthetic_bookdown
Bookdown for the dsSynthetic project
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.8%) to scientific vocabulary
Repository
Bookdown for the dsSynthetic project
Basic Info
- Host: GitHub
- Owner: tombisho
- License: gpl-3.0
- Language: TeX
- Default Branch: main
- Homepage: https://tombisho.github.io/synthetic_bookdown/
- Size: 3.1 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 5
- Releases: 0
Metadata Files
README.md
Introduction
Documentation and bookdown for dsSynthetic package to generate synthetic data in DataSHIELD.
https://tombisho.github.io/synthetic_bookdown/
dsSynthetic has a server-side package
https://github.com/tombisho/dsSynthetic
and a client side package
https://github.com/tombisho/dsSyntheticClient
Bookdown
The complete bookdown, tutorial, vignette with executable code and synthetic data is available here:
https://tombisho.github.io/synthetic_bookdown/
Quick start
Please install R and R Studio
https://www.rstudio.com/products/rstudio/download/preview/
Install the following packages:
```r
install.packages('devtools') library(devtools) devtools::installgithub('tombisho/dsSyntheticClient') devtools::installgithub('datashield/dsBaseClient@6.1.1') install.packages('rmarkdown') install.packages('knitr') install.packages('tinytex') install.packages('metafor') install.packages('DSOpal') install.packages('DSI') install.packages('opalr')
```
Follow the bookdown below for a complete tutorial:
https://tombisho.github.io/synthetic_bookdown/
Usage
See the bookdown below for a complete tutorial:
https://tombisho.github.io/synthetic_bookdown/
A minimal example of a book based on R Markdown and bookdown (https://github.com/rstudio/bookdown).
The bookdown can be compiled by typing the following commands:
```r
library(bookdown)
bookdown::serve_book()
```
Contact
Tom R.P. Bishop and Soumya Banerjee
sb2333@cam.ac.uk
Recipe for creating your own bookdown
Bookdown recipe:
In RStudio, install the bookdown packageStart a new project, but choose the project to be a book.In Github create an empty project (no README.md) with the same name as your bookIn RStudio go to Tools -> Project options -> Version control -> Git (it will ask you to reload the project)On Git command line, add the remote and push: git remote add origin https://github.com/USERNAME/PROJECT.git git push -u origin master
In the file _bookdown.yml, and the line output_dir: "docs"In the file _output.yml, delete the parts that refer to generating a pdf (I couldn’t get this to work):bookdown::pdfbook: includes: inheader: preamble.tex latexengine: xelatex citationpackage: natbib keeptex: yes bookdown::epubbook: default
Start to write your book!Check in local changesIn Github go to Settings -> Pages and set the source to the main branch and folder to docs
Push your local changes to Github, hopefully it will build your site
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Banerjee" given-names: "Soumya" orcid: "https://orcid.org/0000-0001-7748-9885" - family-names: "Bishop" given-names: "Tom" orcid: "https://orcid.org/0000-0000-0000-0000" title: "synthetic_bookdown" version: 1.0.0 doi: 10.5281/zenodo.1234 date-released: 2021-12-21 url: "https://github.com/neelsoumya/synthetic_bookdown"
GitHub Events
Total
Last Year
Dependencies
- DSI * imports
- DSOpal * imports
- bookdown * imports
- dsBaseClient * imports
- knitr * imports
- opalr * imports
- rmarkdown * imports
- tinytex * imports