joshuaulrich / joshuaulrich/quantmod

Set column names to field.names in getSymbols.MySQL/SQLite

Open
#51 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
R
Stars
906
Forks
233
PR merge metrics
No merged PRs in 30d

Description

The documentation says that `field.names` are the "names to assign to returned columns", but that does not actually happen. It's simple enough to use the `field.names` (if non-NULL) when setting the column names. Thanks to Cedrick Johnson for the suggestion/patch.

Also consider renaming `field.names` to `col.names` to be consistent with `getSymbols.csv/rda/rds`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the getSymbols.MySQL and getSymbols.SQLite implementations and read the documentation describing field.names. Verify how returned column names are currently assigned, then make field.names take effect when non-NULL and confirm the behavior for both database backends; consider the proposed col.names rename separately because the issue presents it as an additional consideration.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, r, sqlite
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.