one-acre-fund / farmr Goto Github PK
View Code? Open in Web Editor NEWfarmr R package containing common oaf-specific functions and output branding.
farmr R package containing common oaf-specific functions and output branding.
Aim of join_report
@jesund I'm getting an error on loading the updated farmr package that says that 'read_that_csv' is exported in the namespace but doesn't exist in the package.
I think the fix is re-running the documentation (Cmd+shift+D) to rebuild the namespace without read_that_csv but wanted to flag it for you in case that is a function that you're working on and it should be in the namespace!
Let me know when you've fixed this and I'll download the package again.
Fails if there are missing values in the column
I think you might run into some errors when it comes to running Cmd+Shift+E to build the package. This guide to tidyeval should help.
Specifically, how make sure the dplyr programming is fully documented.
@jesund I'm using the theme_oaf()
function and it's working well and looks good! I have a couple suggestions for future additions:
fill()
(filling box plot or scatter plot by factor, for instance). Is there a work around?is_duplicated
failing test to only flag one instance when there are multiple duplicates. Look into this use case more.
Quickly check if values are unique
is_unique() would check length(x) == length(unique(x))
Consider adding SROI calculator to package based on standardized SROI cannibalization calculations in docs like this
Basic idea would be something like
is_duplicated() and it would give the duplicated cases
duplicated | duplicated(, fromLast = T)
This will ensure that you don't hit errors trying to compile the full package when using %>%
@jesund Hi Johnna, I couldn't get the oaf_theme markdown template to work for me but I might not have been trying it correctly! Not urgent but can you share the steps I should follow to access the markdown template? I assumed that if I loaded the farmr package that it would apply itself to that Rmd but that might have been to simplistic of me...
https://www.r-bloggers.com/writing-pipe-friendly-functions/
It's worth a quick read. Some small modifications will make sure the farmr
functions are pipe compatible in scripts.
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.