Skip to content

Fixed MI issue #469 . First commit to this project#495

Open
Ash1R wants to merge 3 commits into
biglocalnews:mainfrom
Ash1R:mi-fix
Open

Fixed MI issue #469 . First commit to this project#495
Ash1R wants to merge 3 commits into
biglocalnews:mainfrom
Ash1R:mi-fix

Conversation

@Ash1R

@Ash1R Ash1R commented Aug 5, 2022

Copy link
Copy Markdown
Contributor

This is for issue #469 , my first commit to this project.
In summary, there wasn't an easily extractable table, so I had to use the space between columns in each row. There were two categories of pdfs: 2000-2006 and 2007-2015 which had to be processed differently. Each had its own set of rows with irregular spacing that had to be handled in different ways.

@palewire

Copy link
Copy Markdown
Contributor

Thanks for the patch! Is there a good time we could get on Zoom together and look at this?

@Ash1R

Ash1R commented Aug 17, 2022

Copy link
Copy Markdown
Contributor Author

Sure! I can meet today (Wed Aug 17) at any time, tomorrow and day after tomorrow after 5:30, or any time on the weekend.

@Ash1R

Ash1R commented Aug 20, 2022 via email

Copy link
Copy Markdown
Contributor Author

@Ash1R

Ash1R commented Nov 24, 2022

Copy link
Copy Markdown
Contributor Author

I saw that you wanted some changes on the Michigan scraper, so I made them in the correct PR this time

Comment thread warn/scrapers/mi.py Outdated
Comment on lines +177 to +185
# they use numbers instead of these words in some of the pdf
if temp[1] == "1":
temp[1] = "Plant Closing"
elif temp[1] == "2":
temp[1] = "Mass Layoff"
elif temp[1] == "3":
temp[1] = ""
elif temp[1] == "4":
temp[1] = ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed in other PRs, we don't want to do any data editing or translation in these scrapers, if we can avoid it. Let's leave these values as is.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@stucka stucka changed the title fixed issue #469 . First commit to this project Fixed MI issue #469 . First commit to this project Aug 25, 2023
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

Successfully merging this pull request may close these issues.

2 participants