Why use Purrr?

Blogs home Featured Image

This week we spoke to Xinye Li, Head of Data Science at Mango Solutions, to talk about his career thus far and what people can expect to learn at the ‘Functional Programming with Purrr’ EARL workshop.

Hi Xinye, thanks for joining me today. Could you tell me about your career and what you do at Mango currently?

I joined the Mango/Ascent 3 months ago as Head of Data Science, before that I had been a full-time Data Scientist with pretty hands-on responsibility – in coding, delivering results for both client-side business as well as agency. That means I have gained quite a wide range of experience with problems businesses can face – and dealing with the different stages of data maturity and how businesses go from coming up with questions and using data to solve those problems. At the core, I am a passionate Data Scientist who is always happy to write code and will always be fascinated by new developments in Data Science.

You are teaching the ‘Functional programming with Purrr‘ workshop at EARL online – could you let us know a bit more about the workshop and what people could expect to learn?

Talking of new developments, in the R language especially, I think the functional programming aspect of R is being talked about a lot more now. It has always been its core strength – for example, many base R maths symbols are actually sugar coating of functional implementations in the back end without people realising it.

Some of the latest best practices in coding in R such as Shiny Modules have surfaced the need to understand functional programming. With companies such as RStudio and their open-source contributions, this has been made a lot more fun and easier to practice functional programming. So the aim of the workshop is to introduce the idea of functional programming, demonstrate how to implement that with R, and provide some useful tips to write good functions. As an example, purrr is a package designed to work with the functional programming paradigm in R – the code is much easier to manage and it’s easy to convert the code to massively parallel processing with minimal effort.

Thanks, Xinye! We can’t wait for your workshop.

The Enterprise Applications of the R Language Conference is back online in 2021 from the 6th-10th of September. Tickets are now on sale for the four workshops and the final day of presentations on using R in enterprise.

Every year we train thousands of people worldwide from a range of backgrounds and industries, in face-to-face and virtual classrooms. Our instructors have extensive subject matter experience and real-world application knowledge. Please get in touch if you’d like to find out more about our training services.