dplyr_drops_attributes: Use dplyr's join and mutate functions wihtout loosing CDS...

Description Usage Arguments Details

Description

This function is an implementation of dplyr's mutate and join generic functions for cds_df S3 object that are returned from 'downloand_cds()'. You don't have to worry abount anything and just use dplyr normally.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S3 method for class 'cds_df'
mutate(cds_df, ...)

## S3 method for class 'cds_df'
inner_join(cds_df, ...)

## S3 method for class 'cds_df'
left_join(cds_df, ...)

## S3 method for class 'cds_df'
right_join(cds_df, ...)

## S3 method for class 'cds_df'
full_join(cds_df, ...)

## S3 method for class 'cds_df'
nest_join(cds_df, ...)

Arguments

cds_df

A cds_df tibble.

...

Arguments passed to dplyr mutate and join functions and their variants.

Details

This is needed due to fact that 'dplyr::mutate()' and joint do not preserve non-tibble attributes. More information can be found here.


jarekkupisz/cdsR documentation built on Dec. 20, 2021, 9:05 p.m.