Access components of a mudata object

tbl_data(x)

# S3 method for default
tbl_data(x)

tbl_data_wide(x, ...)

# S3 method for default
tbl_data_wide(x, key = "param", value = "value", ...)

tbl_params(x)

# S3 method for default
tbl_params(x)

tbl_locations(x)

# S3 method for default
tbl_locations(x)

tbl_datasets(x)

# S3 method for default
tbl_datasets(x)

tbl_columns(x)

tbl_columns(x)

# S3 method for mudata
tbl(src, which, ...)

x_columns(x)

# S3 method for default
x_columns(x)

Arguments

x, src

A mudata object

...

Passed to other methods

key, value

Passed to spread

which

Which tbl to extract

Value

The appropriate component

Examples

tbl_data(kentvillegreenwood)
#> # A tibble: 1,364 x 6 #> dataset location param date value flags #> <chr> <chr> <chr> <date> <dbl> <chr> #> 1 ecclimate KENTVILLE CDA CS maxtemp 1999-07-01 28.5 <NA> #> 2 ecclimate KENTVILLE CDA CS maxtemp 1999-07-02 30.7 <NA> #> 3 ecclimate KENTVILLE CDA CS maxtemp 1999-07-03 26.4 <NA> #> 4 ecclimate KENTVILLE CDA CS maxtemp 1999-07-04 28.6 <NA> #> 5 ecclimate KENTVILLE CDA CS maxtemp 1999-07-05 26 <NA> #> 6 ecclimate KENTVILLE CDA CS maxtemp 1999-07-06 25.3 <NA> #> 7 ecclimate KENTVILLE CDA CS maxtemp 1999-07-07 28.6 <NA> #> 8 ecclimate KENTVILLE CDA CS maxtemp 1999-07-08 23.9 <NA> #> 9 ecclimate KENTVILLE CDA CS maxtemp 1999-07-09 22.8 <NA> #> 10 ecclimate KENTVILLE CDA CS maxtemp 1999-07-10 20.9 <NA> #> # … with 1,354 more rows