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

Example produces NAs #29

Open
dcaud opened this issue Jul 11, 2023 · 0 comments
Open

Example produces NAs #29

dcaud opened this issue Jul 11, 2023 · 0 comments

Comments

@dcaud
Copy link

dcaud commented Jul 11, 2023

This:

# install.packages("pdfsearch")
library(pdfsearch)
file <- system.file('pdf', '1610.00147.pdf', package = 'pdfsearch')

result <- keyword_search(file, 
                         keyword = c('measurement', 'error'),
                         path = TRUE)

head(result$line_text, n = 2)

Results in:

[[1]]
[1] "Reiter, Maria DeYoreo∗ arXiv:1610.00147v1 [stat.ME] 1 Oct 2016 Abstract Often in surveys, key items are subject to measurement errors. "

[[2]]
[1] "In NA NA dividuals with high quality measurements of the error-prone survey items. "

Notice the NA's in the second item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant