Project$table

Project$table(table_reference) → Table

Create a reference to the table within a project.

Parameters:

table_reference : str The name of the table, unique within the project. The name is case-insensitive, and can optionally be escaped following general name escaping rules. E.g., "Compute annual precipitation output" -> "compute_annual_precipitation_output". 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., "compute_annual_precipitation_output:m7k8").

Returns:

Table

Examples

project <- redivis::user("imathews")$project("example_project_climate_analysis")

table <- project$table('compute_annual_precipitation_output:m7k8')
table$to_tibble()
# 	id	        year	    annual_precip
# 0	CA0023026HN	2003	    2925.0
# ...

Last updated