mrjoh3 / ggtrack Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://restlessdata.com.au/ggtrack
License: Other
Home Page: https://restlessdata.com.au/ggtrack
License: Other
Although the function make_qr()
is documented in https://mrjoh3.github.io/ggtrack/reference/make_qr.html, and defined in
Line 87 in 86d401c
currently ggtrack always displays a plot even when assigned to a variable. This is a side effect of grid arrange. Need ability to control this behaviour
The stegosaur package makes it possible to embed content directly into a saved png. Ideally the content of the QR code could be emmedded directly as well.
https://github.com/richfitz/stegasaur
the lsb_encode
and lsb_decode
functions seem most appropriate
https://github.com/richfitz/stegasaur/blob/master/R/lsb.R
partially implimented in https://github.com/mrjoh3/ggtrack/blob/embed-stenograph-in-download/R/download.R#L66
in a knitr chunk that outputs a ggplot the chunk header could include track=tracker.object
tracker.object would point to a tracker defined earlier in the page
At the line:
Line 98 in 86d401c
Adding the git hash and/or the timestamp should be optional, in that way, for example, the QR can encode the URL to download a full report from which the image shown is just a part or example.
Need to ensure QR code is always readable, current size is fixed to 1.8 cm in height
The code for make_qr(), does not check if the current dir is tracked by git.
current layout is cation | logo | QR.
options are to allow user to define or to have several predefined or preset options such as
logo | QR | caption
logo | caption | QR
any option will also need ability to resize logo and caption boxes based on the size of the logo.
theme added to a ggplot is automatically added to the banner
a hidden tracker maintains metadata while at the same time ensures if a plot is copied and pasted into a new document, the banner is included
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.