Skip to content

Instantly share code, notes, and snippets.

View jbkunst's full-sized avatar
🐢
Work it harder Make it better Do it faster

Joshua Kunst jbkunst

🐢
Work it harder Make it better Do it faster
View GitHub Profile
@jbkunst
jbkunst / setup_postgres.sh
Created January 2, 2025 14:24
setup_postgres.sh
#!/bin/bash
# Update the package list and upgrade the system
echo "Updating system packages..."
sudo apt-get update -y && sudo apt-get upgrade -y
# Install PostgreSQL
echo "Installing PostgreSQL..."
sudo apt-get install -y postgresql postgresql-contrib
# x <- "https://raw.githubusercontent.com/melvidoni/r4ds/traduccion_melina/factors.Rmd"
# x <- "https://raw.githubusercontent.com/melvidoni/r4ds/traduccion_melina/datetimes.Rmd"
chequear_traduccion <- function(x = "https://raw.githubusercontent.com/melvidoni/r4ds/traduccion_melina/factors.Rmd") {
library(tidyverse)
library(hunspell)
library(tidytext)
data <- obtener_data(x)
# packages ----------------------------------------------------------------
rm(list = ls())
library(tidyverse)
theme_set(theme_minimal())
# data --------------------------------------------------------------------
n <- 500
df <- data_frame(
x1 = rnorm(n) + 1,