add_past: Add the past to original data

View source: R/swc_get_mun_history.R

add_pastR Documentation

Add the past to original data

Description

The past is searched by the mHistId.x of the origial file

Usage

add_past(x, mutations)

Arguments

x

The original data as tibble.

mutations

Mutation file

Examples

mutations <- swcGetMutations()

t <-
  dplyr::filter(mutations, mId.y == 293)

t_1 <- dplyr::filter(t, mHistId.y == max(mHistId.y))

t_past <- add_past(t, mutations)


cynkra/munch documentation built on Dec. 15, 2024, 6:06 a.m.