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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
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 anos atrás
David
bfa7255a92
took out stringr calls, reduced single command pipes
7 anos atrás
David
1a21deda1a
Merge remote-tracking branch 'gadenbuie/pkg' into package-struct
7 anos atrás
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 anos atrás
David
259b44fcfa
allows multiple id-columns
-id1, -id2 work, id1:id2 does not (yet)
7 anos atrás
David
64bfc54ca9
updated readme
7 anos atrás
David
12176a7ac7
better colors in tidyr
7 anos atrás
David
779aef6183
working gather and spread
7 anos atrás
David
40438fa0ef
added authors to description
7 anos atrás
David
bdfc5438fe
removed base-plot references
7 anos atrás
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 anos atrás
David
1f20c8bb29
allow textcolor
7 anos atrás
David
0b6db08ea6
updated readme to show the graphics
7 anos atrás
David
668eb2a54f
fixed anti join
7 anos atrás
David
a861a5aa67
arguments can be now passed to tweak plot details
7 anos atrás
David
bcd6fe777b
fixed inner join
7 anos atrás
David
a29a10f3ae
all joins and sets properly working
7 anos atrás
David
dc16e6c8d6
more compact documentation
7 anos atrás
David
26e342bd44
added variable text size
7 anos atrás
David
0d9da0dab2
reduced fontsize
7 anos atrás
David
d75bf3104b
updated Readme and added create_images skript
7 anos atrás
David
cd19b3bca8
added package structure
7 anos atrás
Garrick Aden-Buie
16145d5fbd
Fix file name
7 anos atrás
Garrick Aden-Buie
c05408366c
Move folder checking code to R/03_check-folders.R
7 anos atrás
Garrick Aden-Buie
89f102772b
Add MIT badge for code, note CC0 is for images
7 anos atrás
Garrick Aden-Buie
61ead720ff
Merge pull request #6 from gadenbuie/set-ops
Incorporate #5
7 anos atrás
Garrick Aden-Buie
9a47907300
Fix union(y, x) static images
7 anos atrás
Garrick Aden-Buie
ab91da2b8b
Update documentation
7 anos atrás
Garrick Aden-Buie
052f542540
Update joins after refactoring
7 anos atrás
Garrick Aden-Buie
93baaa8841
Refactor and incorporate set operations from @TylerGrantSmith
7 anos atrás
tacoactuary
c1409e0997
misc updates
modified union animation and added union_all
7 anos atrás
tacoactuary
35c4f1efc5
Added set operations
intersect/union/setdiff
7 anos atrás
Garrick Aden-Buie
64e135e7e2
remove stray file
7 anos atrás
Garrick Aden-Buie
9186a01178
🔖 fix links
7 anos atrás
Garrick Aden-Buie
3d57b8b01b
📖 Update readme
7 anos atrás
Garrick Aden-Buie
5b1d6dd0c6
Add svg and organize static images
7 anos atrás
Garrick Aden-Buie
9ecbb7a607
Add static images
7 anos atrás
Garrick Aden-Buie
dfe260b02b
Fix #4 semi_join second key frame
7 anos atrás
Garrick Aden-Buie
6f965a1469
Delete stray file
7 anos atrás
Garrick Aden-Buie
c51743f502
License: CC0 public domain
7 anos atrás
Garrick Aden-Buie
1f313fff4d
Add text from ?dplyr::join
7 anos atrás
Garrick Aden-Buie
4206e8f229
Add left_join with extra rows in y
7 anos atrás
Garrick Aden-Buie
c5da6977e5
Fix right_join animation
7 anos atrás
Garrick Aden-Buie
906b1d57af
Add some links from the twitter thread to the readme
7 anos atrás
Garrick Aden-Buie
7aab3c1851
Add TOC and binder badge
7 anos atrás