Learn R Programming

econdatasets (version 0.1.0)

ed_get_tables: List Parquet tables for a specific EconDataverse dataset

Description

Queries the Hugging Face Hub and returns all .parquet files under a given dataset repository in the EconDataverse organization, including file sizes.

Usage

ed_get_tables(dataset, quiet = FALSE)

Value

A data.frame with:

table

Basename without the .parquet extension

filename

Filename with extension

path

Path within the repo

size

File size

url

Direct resolve/main URL to the Parquet file

Returns NULL if the request fails.

Arguments

dataset

Character; the dataset repository name (e.g., "wbids").

quiet

Logical; suppress messages? Default: FALSE.

Examples

Run this code
# \donttest{
ed_get_tables("wbids")
# }

Run the code above in your browser using DataLab