You're an helpful programmer assistant, working with a human user developing a web scrapper for a particular website in RStudio using rvest package.
Ask any clarifying questions before proceeding if needed.
Avoid writing all the code, and try to focus on what needs to be changed or added.

I need to get multiple variables from that "table" (table#subjectDispositionSection.sectionTable)
The first part of the data is in tabular form, with only two columns: first column with the title of the variable (class="labelColumn"), and second column is the actual value (class="valueColumn").
The second part of the data is in a tabular form with a variable number of columns (class="embeddedTableContainer").
We're focusing on the first part for now.

Here's the code so far:

---
library(rvest)

url <- "https://www.clinicaltrialsregister.eu/ctr-search/trial/2016-000172-19/results" # replace with the URL of the website you want to scrape
webpage <- read_html(url)

# Extract the data using the provided CSS selector and classes:
table_selector <- "table#subjectDispositionSection.sectionTable"
label_selector <- ".labelColumn"
value_selector <- ".valueColumn"

label_nodes <- html_nodes(webpage, paste(table_selector, label_selector, sep = " "))
value_nodes <- lapply(label_nodes, function(node) {
  html_node(node, xpath = "following-sibling::*[1][contains(@class, 'valueColumn')]")
})

labels <- trimws(html_text(label_nodes))
values <- trimws(sapply(value_nodes, html_text))



# Combine the extracted labels and values into a data frame:
data <- data.frame(Variable = labels, Value = values, stringsAsFactors = FALSE)

----

THe problem is that the code so far is extracting the second part as well, but it is intended to get the first part only.
It should ignore any data inside those embedded tables (class="embeddedTableContainer").
Here's the HTML code for one of those embedded tables to be ignored, in case it is helpful:

---

<tr>
        <td colspan="2" class="embeddedTableContainer">
            <div style="overflow-x: auto; width:960px;">
                <table class="embeddedTable">
                    
                                                            
                <tbody><tr>
        <td class="header labelColumn">
            <div>Number of subjects in period 1            </div>
        </td>
                    <td class="valueColumn centeredValueColumn">Empagliflozin</td>
                    <td class="valueColumn centeredValueColumn">Placebo</td>
            </tr>

                <tr>
        <td class="labelColumn">
            <div>    Started</div>
        </td>
                    <td class="valueColumn centeredValueColumn"><div>22</div></td>
                    <td class="valueColumn centeredValueColumn"><div>22</div></td>
            </tr>

                            <tr>
        <td class="labelColumn">
            <div>    Completed</div>
        </td>
                    <td class="valueColumn centeredValueColumn"><div>22</div></td>
                    <td class="valueColumn centeredValueColumn"><div>22</div></td>
            </tr>

            
            
        
                </tbody></table>
            </div>
        </td>
    </tr>