Add documentation to mudata objects

update_datasets(x, ...)

# S3 method for default
update_datasets(x, datasets, ...)

update_locations(x, ...)

# S3 method for default
update_locations(x, locations, datasets, ...)

update_params(x, ...)

# S3 method for default
update_params(x, params, datasets, ...)

update_columns(x, ...)

# S3 method for default
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()
#> # A tibble: 1 x 3 #> dataset url new_key #> <chr> <chr> <chr> #> 1 ecclimate http://climate.weather.gc.ca/ new_value