datasets icon indicating copy to clipboard operation
datasets copied to clipboard

Add R as a How to use from the Polars (R) Library as an option

Open ran-codes opened this issue 1 year ago • 0 comments

Feature request

The boiler plate code to access a dataset via the hugging face file system is very useful. Please addd

Add Polars (R) option

The equivailent code works, because the Polars-R wrapper has hugging faces funcitonaliy as well.

library(polars)

df <- pl$read_parquet("hf://datasets/SALURBAL/core__admin_cube_public/core__admin_cube_public.parquet")

Polars (python) option

image

Libraries Currently

image

Motivation

There are many data/analysis/research/statistics teams (particularly in academia and pharma) that use R as the default language. R has great integration with most of the newer data techs (arrow, parquet, polars) and having this included could really help in bringing this community into the hugging faces ecosystem.

This is a small/low-hanging-fruit front end change but would make a big impact expanding the community

Your contribution

I am not sure which repositroy this should be in, but I have experience in R, Python and JS and happy to submit a PR in the appropriate repository.

ran-codes avatar Oct 14 '24 19:10 ran-codes