download_table_as_data_frame: Download a dataset table onto a data frame.

Description Usage Arguments Value See Also Examples

View source: R/download_table_as_data_frame.R

Description

Download a dataset table onto a data frame.

Usage

1
2
3
4
5
6
download_table_as_data_frame(
  owner_id,
  dataset_id,
  table_name,
  col_types = NULL
)

Arguments

owner_id

User name and unique identifier of the creator of a dataset or project

dataset_id

Dataset unique identifier

table_name

Table name.

col_types

column types specified in the same manner as the col_types parameter of readr::read_csv(), or pass NULL (the default) to detect column types automatically from the data.world table schema

Value

Data frame with data from table.

See Also

list_tables

Examples

1
2
3
4
## Not run: 
  table_df <- dwapi::download_table_as_data_frame("user", "dataset", "table")

## End(Not run)

datadotworld/dwapi-r documentation built on July 3, 2021, 3:40 a.m.