Parti libéral du Québec (PLQ)
收藏资源简介:
Web archive derivatives of the Sites of the Parti libéral du Québec (PLQ) collection from the Bibliothèque et Archives nationales du Québec. The derivatives were created with the Archives Unleashed Toolkit. Merci beaucoup BAnQ! These derivatives are in the Apache Parquet format, which is a columnar storage format. These derivatives are generally small enough to work with on your local machine, and can be easily converted to Pandas DataFrames. See this notebook for examples. <strong>Domains</strong> <pre><code class="language-java">.webpages().groupBy(ExtractDomainDF($"url").alias("url")).count().sort($"count".desc)</code></pre> Produces a DataFrame with the following columns: domain count <strong>Web Pages</strong> <pre><code class="language-java">.webpages().select($"crawl_date", $"url", $"mime_type_web_server", $"mime_type_tika", RemoveHTMLDF(RemoveHTTPHeaderDF(($"content"))).alias("content"))</code></pre> Produces a DataFrame with the following columns: crawl_date url mime_type_web_server mime_type_tika content <strong>Web Graph</strong> <pre><code class="language-java">.webgraph()</code></pre> Produces a DataFrame with the following columns: crawl_date src dest anchor <strong>Image Links</strong> <pre><code class="language-java">.imageLinks()</code></pre> Produces a DataFrame with the following columns: src image_url <strong>Binary Analysis</strong> Audio Images PDFs Presentation program files Spreadsheets Text files Videos Word processor files



