BuzzFeedNews / 2015-07-h2-visas-and-enforcement

Data and analysis supporting several passages in the BuzzFeed News article, "The New American Slavery: Invited To The U.S., Foreign Workers Find A Nightmare," published July 24, 2015.
http://www.buzzfeed.com/jessicagarrison/the-new-american-slavery-invited-to-the-us-foreign-workers-f
MIT License
28 stars 1 forks source link

whd-enforcement-database.tar.gz-a "incomplete" error #1

Open adevoid opened 7 years ago

adevoid commented 7 years ago

Hi,

I'm unable to extract the enforcement databases. When I use The Unarchiver app it says whd-enforcement-database.tar.gz-a is incomplete. When I use the tar command I get this error: (Empty error message) tar: Error exit delayed from previous errors.

I have tried extracting it to an empty external hard-drive to make sure I have enough room to store it. This wouldn't be a big deal, but it seems the WHD has taken down their link to download this database. All of these links that used to direct me to their copy of the dataset are dead and it happened in the last couple days: http://ogesdw.dol.gov/views/data_catalogs.php http://api.dol.gov/V1/Compliance/WHD/ http://enforcedata.dol.gov/

And all the links on this developer page they have designated for this dataset do not lead to the actual full dataset: http://developer.dol.gov/keeping-what-you-earn/whd-compliance

jsvine commented 7 years ago

Hi, @adevoid, and thanks for writing.

I'm unable to extract the enforcement databases. When I use The Unarchiver app it says whd-enforcement-database.tar.gz-a is incomplete. When I use the tar command I get this error: (Empty error message)

You're getting this error because all the whd-enforcement-database.tar.gz-* files need to be concatenated before unzipping. On Unix machines, the command is cat data/whd-compressed/* | tar -xzvf - -C data. It's a bit inconvenient, but was necessary to accommodate GitHub's file size limits.

But there's an easier way, now! Earlier this year, I uploaded an identical copy of the data to the Internet Archive. (Click the "Show all files" button, and then the whd-enforcement-database.zip link.)

Let me know if that doesn't work for you.