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

Error in xls import #112

Open
kbenoit opened this issue Nov 15, 2017 · 0 comments
Open

Error in xls import #112

kbenoit opened this issue Nov 15, 2017 · 0 comments
Assignees
Labels

Comments

@kbenoit
Copy link
Collaborator

kbenoit commented Nov 15, 2017

text_field is not working correctly.

> readtext("tests/data/xls/test3.xlsx", text_field = "other")
readtext object consisting of 4 documents and 4 docvars.
# data.frame [4 x 6]
        doc_id         other colour               text number taste
         <chr>         <chr>  <chr>              <chr>  <dbl> <chr>
1 test3.xlsx.1          <NA> orange "\"The quick\"..."      0  <NA>
2 test3.xlsx.2          <NA>   blue "\"brown fox\"..."     NA  <NA>
3 test3.xlsx.3    jumps over   pink        "\"NA\"..."     NA sweet
4 test3.xlsx.4 the lazy dog.   pink        "\"NA\"..."     NA umami
> readtext("tests/data/xls/test3.xls", text_field = "other")
readtext object consisting of 4 documents and 4 docvars.
# data.frame [4 x 6]
       doc_id         other colour               text number taste
        <chr>         <chr>  <chr>              <chr>  <dbl> <chr>
1 test3.xls.1          <NA> orange "\"The quick\"..."      0  <NA>
2 test3.xls.2          <NA>   blue "\"brown fox\"..."     NA  <NA>
3 test3.xls.3    jumps over   pink        "\"NA\"..."     NA sweet
4 test3.xls.4 the lazy dog.   pink        "\"NA\"..."     NA umami
@kbenoit kbenoit self-assigned this Nov 15, 2017
@kbenoit kbenoit added the bug label Nov 15, 2017
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

1 participant