archivesunleashed / auk-notebooks

Jupyter notebooks to assist in creating additional analysis and visualizations of Archives Unleashed Cloud derivatives.
https://cloud.archivesunleashed.org
Other
11 stars 5 forks source link

Example collection #13

Closed ruebot closed 5 years ago

ruebot commented 5 years ago

Do we want to use this one? If so, we should probably cite it in the notebook. We normally do Canadian Political Parties and Interest Groups, but those are some big derivatives.

screenshot from 2019-03-02 20-13-05

ianmilligan1 commented 5 years ago

Hmm. Let's think a bit more on this. Agreed that CPP is a bit too big. The current example data we're using isn't ideal. I think we'd like a small-ish collection with:

I think Victoria might have some ideal candidate collections. I can try to find a cycle to dig through some of the Archive-It pages, but @SamFritz if you have a moment do you want to take a look around the UVic archive-it pages and see if there are any ones that fit that criteria?

ianmilligan1 commented 5 years ago

Actually, do any of these collections have manageable derivative sizes? (I don't have a UVic collection synced in the Cloud right)

If any of those stand out, I can write to UVic to see if they are interested in being used as "sample data."

ruebot commented 5 years ago

The Trans Web:

British Columbia Local Governments:

B.C. Teachers' Labour Dispute (2014):

Trans Web:

ianmilligan1 commented 5 years ago

OK great, thanks @ruebot. I like BC Teachers Labour Dispute: neat topic, has mostly content from 2014 but also from 2015, fair number of domains, and different domains that take very divergent perspectives on the issue. Plus it's about the size that we could bundle with the image, knock on wood.

@greebie @ruebot @SamFritz provide any thoughts you might have on using this as a sample datasets.. if I get thumbs up, I'd like to reach out to UVic.

ruebot commented 5 years ago

Once we're in agreement, I'll create a branch for it.

greebie commented 5 years ago

I have the UVIc account logged into my cloud account. I think the Teachers labor dispute has legs. I like the Transweb one, but I don't think it has much in terms of years available yet.

ruebot commented 5 years ago

Should we have a section in the README like we do in docker-auk once we figure out which collection to use?

SamFritz commented 5 years ago

agreed, I think the BC Teachers Labour Dispute collection would work well, as a second runner I probably select the Trans Web collection (text wise it's a bit larger).

ianmilligan1 commented 5 years ago

Perfect, thanks all. I'll send them an e-mail to see if there's interest.

ruebot commented 5 years ago

The next spark job in the queue is for the BC Teachers collections. Should be done later tonight, or early tomorrow. I'll create a branch, and we'll see if it works. I think we'll be fine with the GitHub size limits.

ruebot commented 5 years ago

I have the data ready. We need to work through #21 and #22 before I can move forward with this. Both are fairly straightforward, so hopefully we can get to this one by the end of the day worst case.

ruebot commented 5 years ago

Back to the drawing board. We need a collection where all the derivatives are under a 100MB.

$ git push origin issue-13
Counting objects: 10, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 72.35 MiB | 1000.00 KiB/s, done.
Total 10 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 11c76664f8efdae8bf95f093f60b634e
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File data/4867-fulltext.txt is 360.63 MB; this exceeds GitHub's file size limit of 100.00 MB
To github.com:archivesunleashed/auk-notebooks.git
 ! [remote rejected] issue-13 -> issue-13 (pre-receive hook declined)
error: failed to push some refs to 'git@github.com:archivesunleashed/auk-notebooks.git'
ruebot commented 5 years ago

Snowden Archive

screenshot from 2019-03-05 15-41-04

First Nations and Indigenous Community websites

screenshot from 2019-03-05 15-42-56

Nova Scotia FOIPOP portal breach

screenshot from 2019-03-05 15-45-36

Legalization of cannabis in Nova Scotia

screenshot from 2019-03-05 15-46-16

NGOs

screenshot from 2019-03-05 15-46-57

greebie commented 5 years ago

Maybe we could just truncate the text? The script will only read the first 2500 lines anyway.

ianmilligan1 commented 5 years ago

Yeah, I think truncating the text would work here. Trim the text to 35MB or so and just make clear that it’s a sample in the README?

ruebot commented 5 years ago

Cool. 43k lines of text from the file is: 99M. That should do it. I'll test in a moment.

greebie commented 5 years ago

Ooops. Sorry - I had a comment and then closed the issue instead of deleting it.