Posts by R-Bloggers
Author: R-Bloggers
Using R and {paws} to populate DynamoDB tables #2
Feed: R-bloggers. Author: П о д а т о ц и. In our previous post we covered some basics of using the paws SDK to interact with AWS DynamoDB from R. We wrote a few simple functions to prepare R lists in the appropriate format for DynamoDB and some wrappers to put these lists as items in the remote NoSQL database. These are good first steps, but we can’t really use these functions in a production setting, where we might need to populate a table with a few thousand or few million rows. In this post we’ll extend our work ... Read More
Building a multi-session {shiny} application with {brochure}
Feed: R-bloggers. Author: П о д а т о ц и. {shiny}, and the closely linked packages like {bslib}, {thematic}, {shinytest}, etc, are a fantastic resource for R programmers that enable building powerful interactive applications. Building on top of these, are some new (and not so new) R packages that that streamline and standardize the development of {shiny} applications. Among these are {golem} (my personal favorite), {packer}, {rhino}, and last, but certainly not least, {brochure}. {brochure} is unique among the [shiny]-related packages because it enables navitely multi-session applications. The development is oriented around pages that have with their own ui, ... Read More
Using R and {paws} to populate DynamoDB tables
Feed: R-bloggers. Author: П о д а т о ц и. In recent weeks we’ve been using AWS services for a few our projects. One of the things that came up was to populate DynamoDB tables with data from R. Of course, we didn’t have to do this from R, but most of our data analysis and reporting stack is based on R, so why not keep it all in the same environment. We were surprised, however, that there are very limited resources on how to put data into DynamoDB from R. A quick Google search with these keywords did ... Read More
A blank post for a blank site
Feed: R-bloggers. Author: TeachR. Come back another time. Continue reading: A blank post for a blank site ... Read More
Using {shiny.i18n} with {golem} for server-side translation
Feed: R-bloggers. Author: П о д а т о ц и. In this post we share a useful tidbit we learned while developing the demo for the OpenBudgetMKD application. Like with most projects at Discindo, the OpenBudgetMKD application is based on R and {shiny}. It uses the {bs4Dash} and shinyWidgets for their excellent UI components, is packaged with{golem}, and will be available in Macedonian, Albanian, and English. From a programming perspective, the most interesting aspect for us was implementing internationalization using the {shiny.i18n} package and integrating this into a {golem}ized {shiny} application. These tools integrate seamlessly and make creating rather ... Read More
OpenBudget: A Shiny app for transparent finances in local government in North Macedonia
Feed: R-bloggers. Author: П о д а т о ц и. This week we were excited to take part in (and win!) an Open Data Hackathon organized by the Metamorfosis Foundation, a prominent NGO in North Macedonia whose mission and vision are to “… strengthen the awareness and capacity of citizens and civil society …”. The whole experience was very interesting, from the consultations with the organizers and advisers, to the presentations and the projects of the other participants. We were overall very proud to further contribute to the discussions about open data in North Macedonia. This is a topic ... Read More
WindsoraiR package for accessing Windsor.ai API from R
Feed: R-bloggers. Author: П о д а т о ц и. I recently got acquainted with Windsor.ai – a hub for connecting various sources of marketing data like Facebook ads or Google Analytics. The platform is interesting because it provides ways to analyze and visualize your merged marketing data through template dashboards or to pipe the data to any number of tools (Python, R, Google data Studio, Tableau, etc). In collaboration with the people at Winsdor.ai, I developed a very simple package to interface with the Windsor.ai API. The new package, called windsoraiR, is available on CRAN and on Github ... Read More
A guide for reproducible data analysis in Macedonian
Feed: R-bloggers. Author: П о д а т о ц и. 2020 has been a sad and difficult year for many and certainly unusual for all of us. For us at Discindo, the adjustments required by limited mobility and closures were not easy, but our work is mostly online and remote anyway, so we are surely much better off than most. One of the activities we were involved this year was to contribute to an ongoing project that involved several in-person collaborative sessions and workshops with a broader audience. At the beginning of the year, the Free Software Macedonia NGO ... Read More
Custom Google Analytics Dashboards with R: Downloading Data
Feed: R-bloggers. Author: Carl Howe. [This article was first published on RStudio Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. This week, I’m taking a break from our regular blog content to write about some of the nitty-gritty data science we do within RStudio. Specifically, I’m going to address a question I was asked soon after joining the blogging team: Which of your blog articles received the most views in the first ... Read More
Monte Carlo Simulation of Bernoulli Trials in R
Feed: R-bloggers. Author: Greski, Len. [This article was first published on Data Science Depot, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here) Want to share your content on R-bloggers? click here if you have a blog, or here if you don't. Background A user on Stackoverflow recently asked a question about a program to generate Monte Carlo simulations on Bernoulli trials to calculate coverage percentages using Wald confidence intervals. One of the problems in the code is that probability value calculations are executed on individual observations rather than sums of successes and ... Read More
Recent Comments