Skip to content

add ggplot code extracted from R4DS and ggplot2 book#1

Open
thomasp85 wants to merge 5 commits intoposit-dev:mainfrom
thomasp85:syntax-testing
Open

add ggplot code extracted from R4DS and ggplot2 book#1
thomasp85 wants to merge 5 commits intoposit-dev:mainfrom
thomasp85:syntax-testing

Conversation

@thomasp85
Copy link
Collaborator

These two files were created with the help of Claude. They contain a collection of all the code blocks in the R4DS and ggplot2 books, with semantically identical examples removed. The code have been expanded to be self-contained (e.g. if the block contains p + geom_point() the definition of p is found and inserted)

The intention with these files is to be a testing ground for the new syntax by providing example plots to replicate with ggSQL.

While it is of course beneficial if Claude can do a good conversion it is important that we try to type out the conversion so we learn whether parts of the syntax is limited or odd/unergonomic. Everyone is welcome to partake in this - the more the merrier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants