Garrick Aden-Buie
3ab9ff2096
Rename to choose_text_color and update tests
Changed name of set_text_color() to choose_text_color() to avoid confusion with the global option setter functions, e.g. set_text_size(). Updated tests to reflect modified threshold.
пре 7 година
Garrick Aden-Buie
cb3c44bbb3
Test tidyexplain name and update README
Sets figure output to man/figures/tidyexplain- and ensures that all R chunks that output figures are named. This gives a collection of animations and static images with reasonable names ready for download and use.
пре 7 година
Garrick Aden-Buie
f536db1c0f
Add package environment for global plot settings
Currently only used for setting global text and title font sizes, but can be extended to other options that we may wish to set for more than one plot. For fonts, we now provide `set_font_size()` that can be used to set text and title sizes across all subsequent animations. Includes internal getter functions get_{text|title}_size().
пре 7 година
Garrick Aden-Buie
e600e4f31d
Add tidyr:: and dplyr:: where needed
Adds a few additional dplyr functions to the package imports, in particular: slice, data_frame, and row_number.
пре 7 година
Garrick Aden-Buie
0a6a02dd64
Replace set_text_color()
Uses the algorithm mentioned at https://stackoverflow.com/a/3943023/2022615 based on the luminance of the background color to determine black or white text. The threshold favored black text in a way that didn't look good with our plots, so I increased the threshold from 0.179 to 0.333.
пре 7 година
David
256448d876
took out animate-call from the join functions
if printed it will still call animate, but gives the user more flexibility about animation factors (such as times etc)
пре 7 година
David
bfa7255a92
took out stringr calls, reduced single command pipes
пре 7 година
David
1a21deda1a
Merge remote-tracking branch 'gadenbuie/pkg' into package-struct
пре 7 година
Garrick Aden-Buie
e293d3e5df
Some initial cleanup of package structure for #10 #12
- Import packages from tidyverse
- Set global imports in zzzz-package.R
- Import pipe and tidyeval
- Update authors
- Downgrade version to 0.0.1.9000
- Change license to MIT
- TODO: Internal package qualifications still needed, e.g. dplyr::row_numbers()
пре 7 година
David
259b44fcfa
allows multiple id-columns
-id1, -id2 work, id1:id2 does not (yet)
пре 7 година
David
64bfc54ca9
updated readme
пре 7 година
David
12176a7ac7
better colors in tidyr
пре 7 година
David
779aef6183
working gather and spread
пре 7 година
David
40438fa0ef
added authors to description
пре 7 година
David
bdfc5438fe
removed base-plot references
пре 7 година
David
3b19e34033
renamed some helper functions
this makes it easier to differentiate between the join-related and the (coming) tidyr-related functions that have similar goals
пре 7 година
David
1f20c8bb29
allow textcolor
пре 7 година
David
0b6db08ea6
updated readme to show the graphics
пре 7 година
David
668eb2a54f
fixed anti join
пре 7 година
David
a861a5aa67
arguments can be now passed to tweak plot details
пре 7 година
David
bcd6fe777b
fixed inner join
пре 7 година
David
a29a10f3ae
all joins and sets properly working
пре 7 година
David
dc16e6c8d6
more compact documentation
пре 7 година
David
26e342bd44
added variable text size
пре 7 година
David
0d9da0dab2
reduced fontsize
пре 7 година
David
d75bf3104b
updated Readme and added create_images skript
пре 7 година
David
cd19b3bca8
added package structure
пре 7 година
Garrick Aden-Buie
16145d5fbd
Fix file name
пре 7 година
Garrick Aden-Buie
c05408366c
Move folder checking code to R/03_check-folders.R
пре 7 година
Garrick Aden-Buie
89f102772b
Add MIT badge for code, note CC0 is for images
пре 7 година
Garrick Aden-Buie
61ead720ff
Merge pull request #6 from gadenbuie/set-ops
Incorporate #5
пре 7 година
Garrick Aden-Buie
9a47907300
Fix union(y, x) static images
пре 7 година
Garrick Aden-Buie
ab91da2b8b
Update documentation
пре 7 година
Garrick Aden-Buie
052f542540
Update joins after refactoring
пре 7 година
Garrick Aden-Buie
93baaa8841
Refactor and incorporate set operations from @TylerGrantSmith
пре 7 година
tacoactuary
c1409e0997
misc updates
modified union animation and added union_all
пре 7 година
tacoactuary
35c4f1efc5
Added set operations
intersect/union/setdiff
пре 7 година
Garrick Aden-Buie
64e135e7e2
remove stray file
пре 7 година
Garrick Aden-Buie
9186a01178
🔖 fix links
пре 7 година
Garrick Aden-Buie
3d57b8b01b
📖 Update readme
пре 7 година
Garrick Aden-Buie
5b1d6dd0c6
Add svg and organize static images
пре 7 година
Garrick Aden-Buie
9ecbb7a607
Add static images
пре 7 година
Garrick Aden-Buie
dfe260b02b
Fix #4 semi_join second key frame
пре 7 година
Garrick Aden-Buie
6f965a1469
Delete stray file
пре 7 година
Garrick Aden-Buie
c51743f502
License: CC0 public domain
пре 7 година
Garrick Aden-Buie
1f313fff4d
Add text from ?dplyr::join
пре 7 година
Garrick Aden-Buie
4206e8f229
Add left_join with extra rows in y
пре 7 година
Garrick Aden-Buie
c5da6977e5
Fix right_join animation
пре 7 година
Garrick Aden-Buie
906b1d57af
Add some links from the twitter thread to the readme
пре 7 година
Garrick Aden-Buie
7aab3c1851
Add TOC and binder badge
пре 7 година