Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nonstandard Column Names Don't Match Fields #3

Open
billdenney opened this issue Jul 14, 2016 · 2 comments
Open

Nonstandard Column Names Don't Match Fields #3

billdenney opened this issue Jul 14, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@billdenney
Copy link

billdenney commented Jul 14, 2016

When I have nonstandard column names (including characters like spaces, parentheses, etc.), they don't match the field names because read.csv changes them. As an example, "test 2" becomes "test.2". I think related to this, while loading the attached file, , I get a warning that "Data is missing for variable listed in frontmatter" which doesn't make sense to me.

(.csvy isn't supported by GitHub, so I'm pasting the file as code below.)


---
fields:
  -
    name: 'test 2'
    description: "My test field 2"
    parameter_type: omega
    type: number
generationtime: 'Mon Jul 11 19:37:14 2016'

---
test1,test 2
a,2
@leeper
Copy link
Owner

leeper commented Jul 28, 2016

I believe this is working now. I'm shipping a beta version to CRAN. Let me know if it doesn't work for you.

@leeper leeper added the bug label Jul 28, 2016
@billdenney
Copy link
Author

The version on github does not yet appear to have this fix.

@leeper leeper self-assigned this Jul 29, 2016
@leeper leeper added this to the v0.2.0 milestone Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants