update_datasets: Add documentation to mudata objects

View source: R/mudata_helpers.R

update_datasetsR Documentation

Add documentation to mudata objects

Description

Add documentation to mudata objects

Usage

update_datasets(x, ...)

## Default S3 method:
update_datasets(x, datasets, ...)

update_locations(x, ...)

## Default S3 method:
update_locations(x, locations, datasets, ...)

update_params(x, ...)

## Default S3 method:
update_params(x, params, datasets, ...)

update_columns(x, ...)

## Default S3 method:
update_columns(x, columns, tables, datasets, ...)

Arguments

x

A mudata object

...

Key/value pairs (values of length 1)

datasets

One or more datasets to update

locations

One or more locations to update

params

One or more params to update

columns

One or more columns to update (columns table)

tables

One or more tables to update (columns table)

Value

A modified version of x

Examples

kentvillegreenwood %>%
  update_datasets("ecclimate", new_key = "new_value") %>%
  tbl_datasets()

paleolimbot/mudata documentation built on Oct. 3, 2023, 10:03 a.m.