This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# librerias --------------------------------------------------------------- | |
library(tidyverse) | |
library(rvest) | |
library(janitor) | |
library(gt) | |
library(gtExtras) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# librerias --------------------------------------------------------------- | |
library(tidyverse) | |
library(rvest) | |
library(janitor) | |
library(ggchicklet) | |
library(prismatic) | |
library(ggtext) | |
library(fishualize) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Librerias ---------------------------------------------------------- | |
library(tidyverse) | |
library(nbastatR) | |
library(here) | |
library(rcartocolor) | |
library(scales) | |
library(httr) #para scrapear la tabla de emparejamientos | |
library(jsonlite) #para reestructurar los datos del Json extraido |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import requests | |
headers = { | |
'Accept': 'application/json, text/plain, */*', | |
'Accept-Encoding': 'gzip, deflate, br', | |
'Accept-Language': 'es-ES,es;q=0.9,en;q=0.8', | |
'Connection': 'keep-alive', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# librerias--------- | |
library(tidyverse) | |
library(rvest) | |
library(gt) | |
library(gtExtras) | |
# logos, colores, y nombres------- |