Dataset$table

Dataset$table(table_reference) → Table

Create a reference to the table within a dataset.

Parameters:

table_reference : str The name of the table, unique within the dataset. The name is case-insensitive, and can optionally be escaped following general name escaping rules. E.g., "Daily observations" -> "daily_observations". Can optionally include a colon followed by the table reference id, which ensures the lookup will work even if the table gets renamed (e.g., "daily_observations:6fff").

Returns:

Table

Examples

dataset <- redivis::organization("demo")$dataset("ghcn_daily_weather_data")

table <- dataset$table('daily_observations:6fff')
table$to_tibble(max_results=100)
# 	id	        date	            element    ...
# 0	CA0023026HN	2003-08-16	    ACMH       ...
# ...

Last updated