icon icon

R – operations and data processing, import and export of data from the programme

icon

Training process

Training needs analysis

If you have specific requirements regarding the training programme, we will carry out a training needs analysis for you. This will guide us on which aspects of the programme should receive greater emphasis, so that the training programme meets your specific needs.

What will you gain?

icon

Confident work in RStudio - You will learn to work comfortably in R and RStudio: run code, write scripts, use the console, and keep your workspace organized, so everyday analytical tasks become faster and easier.

icon

Reliable data operations - You will master selecting elements, filtering rows, and creating new columns, so you can prepare datasets for analysis on your own without fixing spreadsheets manually or repeating clicks.

icon

Better object control - You will learn how to inspect data structure and class, manage objects in memory, and save or reload results, which helps you stay in control of your project and avoid workspace clutter.

icon

Efficient import and export - You will learn to import and export text data and work with data frames, lists, and matrices, so you can move data smoothly between files and your analytical environment.

icon

Comfort with vectors - You will understand R data types, conversions, logical, text, and numeric vectors, as well as missing values, factors, and dates, so you can prepare variables correctly for later analysis.

icon

Faster data summaries - You will learn practical ways to calculate means, sums, and frequency tables, and to summarize grouped data, helping you draw conclusions from raw datasets much more quickly.

icon

Effective use of dplyr and data.table - You will practice using dplyr and data.table for filtering, grouping, sorting, sampling, and joining datasets, so you can choose tools that are both convenient and efficient for your work.

icon

Independent skill growth - You will learn how to find, install, and load packages and use R help resources, so after the course you can solve many issues on your own and keep expanding your analytical toolkit.

Training programme

1. Introduction to R

R is positioned first as an open source analytical environment and as a programming language with its own working model. The section covers installation, the role of RStudio and orientation in its interface, giving the technical foundation needed for later work with code and data.

  • specifics of open source software,
  • installation of the R program,
  • familiarization with RStudio,
  • R as a programming language,
  • RStudio interface.

2. Data processing

Working in the console and in scripts is combined with practical data manipulation tasks, so operational habits develop together with syntax. The section includes workspace and working directory management, object persistence, package handling, help usage, and conditional selection of rows or creation of columns.

  • selection of elements,
  • creating columns,
  • selection of rows based on conditions.
  • entering commands into the console,
  • writing scripts,
  • working directory,
  • workspace,
  • deleting, saving and loading objects,
  • loading code from a file,
  • searching for, installing and loading packages,
  • using help.

3. Data analysis

Basic statistical summaries in R are introduced through measures and outputs commonly used at the start of exploratory work. Participants calculate mean and sum, then build frequency tables to describe distributions and obtain compact numerical views of the data under analysis.

  • mean,
  • sum,
  • frequency table.

4. Functions for data management

Core inspection and housekeeping functions such as class(), str(), dim() and head() are used to verify object structure and quickly assess data content. The section also includes rm(), which supports workspace cleanup and helps manage objects during iterative work with scripts and datasets.

  • class(),
  • str(),
  • rm(),
  • dim(),
  • head().

5. Data import/export

Reliable exchange of files is treated as a necessary part of everyday analytical work in R. The section focuses on moving data between the environment and external sources, so imported datasets keep a usable structure and exported results can be further processed or shared without loss of clarity.

6. Vectors

At the vector level, participants work with the fundamental data structure behind many R operations. The material covers type checking and conversion, hierarchy of types, text processing with string tools, logical and numeric vectors, factors, dates and practical handling of missing values.

  • object (data) structures,
  • types of vectors, checking, conversion, type hierarchy,
  • operations on text vectors (string package),
  • operations on logical value vectors,
  • operations on numerical vectors,
  • missing data,
  • factors,
  • operations on dates.

7. Objects containing data

Matrices, lists and data frames form the basis for storing structured information in R, so the section explains when each object type is appropriate. It also introduces the *apply family for repetitive operations and covers import from and export to text-based data files.

  • matrices,
  • lists,
  • automating functions from the *apply family,
  • data frame: data.frame,
  • importing and exporting to text data.

8. Packages used for data processing: dplyr and data.table

dplyr and data.table are used here to show two common approaches to working with tabular data in R. Alongside the tidy data concept, the section addresses browsing data frames, handling missing values and selecting rows through filtering or sampling depending on the analytical need.

  • the philosophy of tidy data,
  • data frame in the dplyr and data.table packages,
  • browsing data,
  • the problem of missing data,
  • selecting rows (filtering, sampling).

9. Operations on data

Creating variables, grouping records and arranging rows are presented as core steps in reshaping data for further analysis. The section also covers summaries, joins between datasets and practical comparison of execution speed across packages when the same task is implemented in different ways.

  • creating new variables,
  • grouping data,
  • sorting,
  • summarizing,
  • joining data sets,
  • comparing code execution speed using different packages.

10. Training summary

The closing part consolidates the full workflow of data handling in R, from environment setup and object management to transformation and basic analysis. It also helps connect base mechanisms with dplyr and data.table so participants can place individual techniques in one coherent process.

What are the prerequisites for participating in the training?

icon

Basic computer skills - You should be comfortable using your operating system, launching programs, working with files and folders, and installing simple applications on your own computer.

icon

Working with data files - You should understand what data files are and how to use them, for example opening, saving, and organizing datasets in folders so you can work smoothly during the exercises.

icon

Basic logical thinking - You should be comfortable with simple relationships, conditions, and step-by-step sequences, because during the course you will filter data and create variables.

icon

Basics of data work - You should recognize basic terms such as column, row, value, and table so you can follow examples on filtering, summaries, and combining data in R more easily.