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

LASD scraper doesn't extract #480

Open
ssciolist opened this issue Jun 2, 2022 · 0 comments
Open

LASD scraper doesn't extract #480

ssciolist opened this issue Jun 2, 2022 · 0 comments
Assignees
Labels
fix scraper fix an existing broken scraper

Comments

@ssciolist
Copy link
Contributor

The issue in this scraper begins in the restruct_raw function, when many warning are thrown for not finding expected text. However, the function runs and returns restructured data. extract_from_raw() doesn't return extracted data because no death data was extracted so when line 241 runs, a comparison between nil and an int doesn't work. Fix the restruct function and the scraper should work in my opinion. Stack trace excerpted below.

ERROR [2022-06-02 11:53:21] missing value where TRUE/FALSE needed

Compact call stack:
  1 lasd$extract_from_raw()
  2 generic_scraper.R#272: tryLog(self$extract_data <- self$extract_func(raw, ...))
  3 lasd.R#241: .handleSimpleError(function (c) 
@ssciolist ssciolist added the fix scraper fix an existing broken scraper label Jun 2, 2022
@mceverett8 mceverett8 self-assigned this Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix scraper fix an existing broken scraper
Projects
None yet
Development

No branches or pull requests

2 participants