Extract code, markdown, and yaml files from R markdown.
Project description
Create R markdown (Rmd) files from YAML, code, and markdown files.
Extract YAML, code, and markdown files from R markdown files.
The rmdawn Python package consists of 2 shell commands and functions:
rmdawn, which concatenates input files to output an R Markdown (Rmd) file.
rmdusk, which extracts 1) a YAML file, 2) Python or R scripts and 3) Markdown (md) files from Rmd files.
Installation
pip install rmdawn
or clone the repo, e.g. git clone https://github.com/marskar/rmdawn and install locally using setup.py (python setup.py install) or pip (pip install .).
Basic usage: terminal
Creating an R markdown file with the rmdawn shell command
rmdawn header.yml README.md scrape.py plot.R notes.txt > example.Rmd
Extract YAML, markdown, and code files from R markdown files with the rmdusk shell command
rmdusk example.Rmd
History
0.0.1 (2018-12-11)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rmdawn-0.0.13.tar.gz
(306.4 kB
view hashes)
Built Distribution
Close
Hashes for rmdawn-0.0.13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94eb562ff7908fa3d1dcc79a2fada7cf04cd483cacebc68e36aff4987fbb01e |
|
MD5 | 8099ade20d8870bdae8eeb8de3846d30 |
|
BLAKE2b-256 | adbc57b5b4bc67e63ef99330d44854cb041be3ef957800583088ef32aa2b805c |