Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Character Count in addition to Word Count reported in R Markdown output #6

Open
jrennstich opened this issue Jan 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@jrennstich
Copy link

The reported Word Count (in the R Markdown tab), e.g.,

9215 words in text body
2884 words in reference section

is extremely useful. Some journals require a character count, however. Running wordcountaddin::text_stats() does of course produce that, but adds data that shouldn't be included (compared to the output reported in the RMarkdown tab). Would it be possible to add to the respective code that produces that word cout output to include the character counts for "text body" and "reference section"?

Either as

9215 words / 56272  characters in text body
2884 words / 2433 characters in reference section

or

9215 words in text body
2884 words in reference section
56272 characters in text body
2433 characters in reference section

or some alternative form.

@crsh crsh transferred this issue from crsh/papaja Jan 30, 2020
@crsh crsh added the enhancement New feature or request label Jun 4, 2020
@crsh
Copy link
Owner

crsh commented Oct 23, 2024

Hi there, this has been a while, but I have now added a simple version of a character counting filter. I may additionally add this functionality to the word count filter as per your suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants