View source: R/link_data_frames.R
link_data_frames | R Documentation |
This function links two data frames within the R-Instat environment using specified linking pairs. It is specifically designed for use within R-Instat and will stop with an error message if the data book object is not found, indicating that the data frames are not being managed through R-Instat.
link_data_frames(
from_data_frame = "flow_data",
to_data_frame = "user_data",
link_pairs = c(uuid = "uuid")
)
from_data_frame |
The name of the source data frame to link from, defaults to "flow_data". |
to_data_frame |
The name of the target data frame to link to, defaults to "user_data". |
link_pairs |
A named vector that specifies the column names used to establish the link,
with the name being the column in the |
None; the function modifies the data_book
environment by adding a new link.
# Assuming 'data_book' and required data frames are already loaded in R-Instat:
# link_data_frames("survey_data", "participant_data", c(participant_id="id"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.