rmarkdown
evidence
Our great sponsors
rmarkdown | evidence | |
---|---|---|
38 | 44 | |
2,805 | 3,320 | |
1.2% | 8.7% | |
7.4 | 10.0 | |
2 days ago | 3 days ago | |
R | JavaScript | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rmarkdown
-
Pandoc
I'm surprised to see no one has pointed out [RMarkdown + RStudio](https://rmarkdown.rstudio.com) as one way to immediately interface with Pandoc.
I used to write papers and slides in LaTeX (using vim, because who needs render previews), then eventually switched to Pandoc (also vim). I eventually discovered RMarkdown+RStudio. I was looking for a nice way to format a simple table and discovered that rmarkdown had nice extensions of basic markdown (this was many years ago so maybe that is incorporated into vanilla markdown/pandoc).
The RMarkdown page claims:
> R Markdown supports dozens of static and dynamic output formats including HTML, PDF, MS Word, Beamer, HTML5 slides, Tufte-style handouts, books, dashboards, shiny applications, scientific articles, websites, and more.
...which I think is largely due to using pandoc as the core generator.
RStudio shows you the pandoc command it runs to generate your document, which I've used to figure out the pandoc command I want to run when I've switched to using pandoc directly.
This is a bit of a "lazy" way to interact with pandoc. Maybe the "laziest" aspect: when I get a new computer, I can install the entire stack by installing Rstudio, then opening a new rmarkdown document. Rstudio asks whether I'd like to install all the necessary libraries -- click "yes" and that's it. Maybe that sounds silly but it used to be a lot of work to manage your LaTeX install. These days I greatly favor things that save me time, which seems to get more precious every year.
-
2023 Lookback
Then, I worked on a Shiny project where I had to learn R Markdown. I was very excited about it because being paid to learn a new technology is something I have always preferred. I also worked with Highcharts graphs, which I didn’t do for years. It was also the first time I was being paid to design something. I didn’t enjoy that part as much as development, but I cannot say it was a bother either.
-
Why won't my boxplot knit?
files/figure-latex/unnamed-chunk-2-1.pdf) Try to find the following text in midterm-question.Rmd: ![](midterm-question_ You may need to add $ $ around a certain inline R expression `r ` in midterm-question.Rmd (see the above hint). See https://github.com/rstudio/rmarkdown/issues/385 for more info.
- new learner to R .. need help
-
We’re Washington Post reporters who analyzed Google’s C4 data set to see which websites AI uses to make itself sound smarter. Ask us Anything!
We used R Markdown for cleaning and analysis, creating updateable web pages we could share with everyone involved. Similarweb’s categories were useful, but too niche for us. So we spent a lot of time recategorizing and redefining the groupings. We used the token count for each website — how many words or phrases — to measure it’s importance in the overall training data.
-
Possible to include inline code in a math equation in Org mode?
In [R Markdown](https://rmarkdown.rstudio.com/) or [Quarto](https://quarto.org/), I can include inline code in a math equation, e.g.,
-
I have to somehow convert this chart into an html file into a file that opens like a website any ideas?
you probably want an rmd file with html output
-
Seeking some markdown help - please redirect me elsewhere if this doesn't belong here
GitHub issue code folding
-
Generating PDF 📄 with Python 🐍
R Markdown / Quarto https://quarto.org/ https://rmarkdown.rstudio.com/ ; can dynamically generate a document and compile it to HTML, PDF, others
-
PYTHON CHARTS: the Python data visualization site with more than 500 different charts with reproducible code and color tools
Hi! At this moment I'm not opening the source code, but I can explain you the tech used. This site is based on another site I created before named https://r-charts.com/ and it was created with blogdown (HUGO + R Markdown). Hence, each tutorials is an R markdown file. For PYTHON CHARTS, in order to run Python within an R markdown file I had to use an R package named reticulate. In addition, the template depends on shuffle.js for filtering and fuse.js for searching
evidence
-
SQLPage – Building a full web application with nothing but SQL queries [video]
It’s interesting to me how far you have pushed the SQL language in this framework, such that it truly is “SQL only”.
The challenge as I see it with enabling analysts to build websites is that you need to build abstractions to get from familiar (SQL, yaml) - the language of analytics, to new (HTML, CSS, JS) - the language of the web browser
As one of the maintainers of Evidence (https://evidence.dev), one of the things I’ve often considered is how accessible our syntax is to analysts. Our syntax combines SQL and Markdown, with MDX style components e.g.
The are inherently webdev-ey, and I do think they put off potential users.
On the flip-side, by adhering to web standards, you get extensibility out of the box, and working out what to do is just a Google search away.
Anyway, thanks for the thought provoking piece.
-
Blazer: Business Intelligence Made Simple
Dataclips was my first experiences writing SQL.
Writing code was a markedly better DX that building dashboards in Tableau, which is why I'm now working on https://evidence.dev - a SSG for creating data from SQL and markdown
Previous HN discussions:
-
Is Tableau Dead?
I'm one of the founders of Evidence (https://evidence.dev) - would be great to hear about your experience. Reaching out now!
-
Apache Superset
Full fledged BI tools like Superset and Metabase are amazing for their intended use cases.
But they may be an overkill if your primary use case is to infrequently build semi-interactive reports for non-technical end-users and your use cases are are mostly covered by standard graphs & tables. Esp. so if you are familiar with SQL and have access to the underlying data source. Two nifty utilities I have found to be very useful for latter kind of use cases are SQLPage and Evidence.
They make it very convenient to whip out some SQL and convert that to a neat professional looking web ui that can be forwarded to an end user. In case of Evidence it is a statically generated site, and in case of SQLPage it is a web app that connects to a live database.
SQLPage: https://sql.ophir.dev/
Evidence: https://evidence.dev
-
A love letter to Apache Echarts
We used ECharts to build our charting library at Evidence and it’s been a great experience overall (https://evidence.dev).
We started with D3 and a few other tools, but felt that we get a lot more out of the box with ECharts, like interactivity and an events API. ECharts is also a lot more extensible than people give it credit for.
If anyone is curious, we documented the process of selecting a charting library after assessing several options: https://github.com/evidence-dev/evidence/issues/136
- Evidence, a static site generator for data apps
-
Observable 2.0, a static site generator for data apps
The new direction seems very similar to what evidence has been doing for a while
https://evidence.dev
-
PRQL as a DuckDB Extension
I'm quite excited about this, and would also love to have it distributed as an NPM package.
I work on an OSS web framework for reporting/ decision support applications (https://github.com/evidence-dev/evidence), and we use WASM duckDB as our query engine. Several folks have asked for PRQL support, and this looks like it could be a pretty seamless way to add it.
-
Nota is a language for writing documents, like academic papers and blog posts
> Not sure the language you choose matters as much as making the API usable by a wide audience.
Fully agree with this, and having typeset my masters thesis and later my resume using LaTeX, I think that the “authoring experience” is 100% the place to focus on improving.
If you’re interested in the “markup to document publishing” space, you might also be interested in the open-source report publishing tool I’m now working on, Evidence (https://github.com/evidence-dev/evidence)
It’s similarly based on markdown, though uses code fences to execute code, HTML style tags for charts and components, and {…} for JavaScript, i.e.
---
-
The pivot table, the spreadsheet's most powerful tool (2020)
I'm working on an OSS BI tool focused on a document form factor. Might be of interest to you. https://github.com/evidence-dev/evidence
What are some alternatives?
Pluto.jl - 🎈 Simple reactive notebooks for Julia
metriql - The metrics layer for your data. Join us at https://metriql.com/slack
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts
superset - Apache Superset is a Data Visualization and Data Exploration Platform
here_here - I love the here package. Here's why.
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
tinytex - A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live
streamlit - Streamlit — A faster way to build and share data apps.
TikZ - Complete collection of my PGF/TikZ figures.
re_data - re_data - fix data issues before your users & CEO would discover them 😊
blogdown - Create Blogs and Websites with R Markdown
lightdash - Self-serve BI to 10x your data team ⚡️