Skip to content

Instantly share code, notes, and snippets.

@erikgregorywebb
Last active June 14, 2021 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikgregorywebb/0cf0a40f117083a97791313301f7a894 to your computer and use it in GitHub Desktop.
Save erikgregorywebb/0cf0a40f117083a97791313301f7a894 to your computer and use it in GitHub Desktop.
# import
library(webshot)
# set working directory
setwd("~/Downloads")
# extract as .pdf files
webshot("https://www.getdbt.com/analytics-engineering/start-here/", "dbt-1-start-here.pdf")
webshot("https://www.getdbt.com/what-is-analytics-engineering/", "dbt-2-what-is-analytics-engineering.pdf")
webshot("https://www.getdbt.com/analytics-engineering/why/", "dbt-3-why.pdf")
webshot("https://www.getdbt.com/analytics-engineering/etl/", "dbt-4-etl.pdf")
webshot("https://www.getdbt.com/analytics-engineering/etl/cloud-data-warehouse/", "dbt-5-etl-cloud-data-warehouse.pdf")
webshot("https://www.getdbt.com/analytics-engineering/etl/data-integration-tools/", "dbt-6-etl-data-integration-tools.pdf")
webshot("https://www.getdbt.com/analytics-engineering/etl/migrating-to-elt/", "dbt-7-etl-migrating-to-elt.pdf")
webshot("https://www.getdbt.com/analytics-engineering/transformation/", "dbt-8-transformation.pdf")
webshot("https://www.getdbt.com/analytics-engineering/transformation/modular-data-modeling/", "dbt-9-transformation-modular-data-modeling.pdf")
webshot("https://www.getdbt.com/analytics-engineering/transformation/data-testing/", "dbt-10-transformation-data-testing.pdf")
webshot("https://www.getdbt.com/analytics-engineering/transformation/data-catalog/", "dbt-11-transformation-data-catalog.pdf")
webshot("https://www.getdbt.com/analytics-engineering/transformation/git-workflow/", "dbt-12-transformation-git-workflow.pdf")
webshot("https://www.getdbt.com/analytics-engineering/use-cases/", "dbt-13-use-cases.pdf")
webshot("https://www.getdbt.com/analytics-engineering/use-cases/bi-reporting/", "dbt-14-use-cases-bi-reporting.pdf")
webshot("https://www.getdbt.com/analytics-engineering/use-cases/data-science/", "dbt-15-use-cases-data-science.pdf")
webshot("https://www.getdbt.com/analytics-engineering/use-cases/operational-analytics/", "dbt-16-use-cases-operational-analytics.pdf")
webshot("https://www.getdbt.com/analytics-engineering/use-cases/exploratory-analysis/", "dbt-17-use-cases-exploratory-analysis.pdf")
webshot("https://www.getdbt.com/data-teams/", "dbt-18-data-teams.pdf")
webshot("https://www.getdbt.com/data-teams/analytics-job-descriptions/", "dbt-19-data-teams-analytics-job-descriptions.pdf")
webshot("https://www.getdbt.com/data-teams/data-org-structure-examples/", "dbt-20-data-teams-data-org-structure-examples.pdf")
webshot("https://www.getdbt.com/data-teams/centralized-vs-decentralized/", "dbt-21-data-teams-centralized-vs-decentralized.pdf")
webshot("https://www.getdbt.com/data-teams/hiring-analytics-engineer/", "dbt-22-data-teams-hiring-analytics-engineer.pdf")
webshot("https://www.getdbt.com/data-teams/hiring-data-engineer/", "dbt-23-data-teams-hiring-data-engineer.pdf")
# combine
library(qpdf)
setwd("~/Documents/dbt")
pdf_combine(c(list.files()), 'dbt-guide-all.pdf')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment