load_dataframe set col_types
Open
- Dominant language
- R
- Stars
- 368
- Forks
- 58
- Avg merge
- 1h 42m
- Merged PRs (30d)
- 4
Description
https://github.com/Azure/Microsoft365R/blame/57a9a88308c5a0e23704f45d6b68701eb4573680/R/ms_drive_item.R#L84
Hi,
thanks for your work. I have a question, i am troubling with the drv$laod_dataframe function.
How can i specify the col_types from my csv?
drv$load_dataframe("PATH", col_types=cols( etc. is not working. This argument is ignored.
Thanks a lot!
Contributor guide
Research direction
Start in R/ms_drive_item.R around line 84 and trace how drv$load_dataframe handles the col_types argument. Reproduce the issue with a CSV and a cols(...) specification, then verify that the requested column types are honored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100