<commit_before># load libraries ----------------------------------------------------------

# Fitting libraries
library(MASS)
library(sandwich)
library(lmtest)
library(plm)
library(animation)
library(gridExtra)
library(grid)

library(ggalt)
library(coefplot)
library(roxygen2)
library(testthat)

# Data manipulation
library(dplyr) # Filter, create new variables, summarise, ... Basically, anything you can think to do to a dataset
library(tidyr) # Reshape and merge datasets
library(data.table)
library(stringr) # String manipulation
library(lubridate)

# Plotting / viz functions
library(ggplot2) # Incredibly powerful plotting library built off of the "Grammer of Graphics"
library(ggvis)
library(htmltools)
library(htmlwidgets)
library(metricsgraphics)
library(rCharts)
library(plotly)

# Libraries to help import files
library(haven) # Imports in files from Stata, SAS, and SPSS
library(readr) # An advanced form of the base 'read.csv' file with some added functionality.
library(readxl) # Functions to import in multiple sheets from Excel
library(googlesheets) # Functions to connect to Google Drive spreadsheets.

library(knitr) # Helper function to produce this RMarkdown document.

# Colors and fonts
library(RColorBrewer)
library(extrafont)
loadfonts()

# library(choroplethrAdmin1)
# library(choroplethr)


# colors ------------------------------------------------------------------
# Custom color libraries
source("~/GitHub/Ethiopia/R/colorPalettes.R")


<commit_msg>+ rvest<commit_after># load libraries ----------------------------------------------------------

# Fitting libraries
library(MASS)
library(sandwich)
library(lmtest)
library(plm)
library(animation)
library(gridExtra)
library(grid)

library(ggalt)
library(coefplot)

# Developer libraries
library(roxygen2)
library(testthat)

# Data manipulation
library(dplyr) # Filter, create new variables, summarise, ... Basically, anything you can think to do to a dataset
library(tidyr) # Reshape and merge datasets
library(data.table)
library(stringr) # String manipulation
library(lubridate)

# Plotting / viz functions
library(ggplot2) # Incredibly powerful plotting library built off of the "Grammer of Graphics"
library(ggvis)
library(htmltools)
library(htmlwidgets)
library(metricsgraphics)
library(rCharts)
library(plotly)

# Libraries to help import files
library(haven) # Imports in files from Stata, SAS, and SPSS
library(readr) # An advanced form of the base 'read.csv' file with some added functionality.
library(readxl) # Functions to import in multiple sheets from Excel
library(googlesheets) # Functions to connect to Google Drive spreadsheets.
library(rvest) # Scrapes websites


library(knitr) # Helper function to produce this RMarkdown document.

# Colors and fonts
library(RColorBrewer)
library(extrafont)
loadfonts()

# library(choroplethrAdmin1)
# library(choroplethr)


# colors ------------------------------------------------------------------
# Custom color libraries
source("~/GitHub/Ethiopia/R/colorPalettes.R")



{'fraction_non_alphanumeric': 0.16190159574468085, 'fraction_numerical': 0.0019946808510638296, 'mean_word_length': 3.892682926829268, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4770823', 'n_tokens_mistral': 881, 'n_tokens_neox': 837, 'n_words': 266}