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 re | |
import csv | |
import requests | |
import lxml.html | |
from unicodedata import normalize | |
r = requests.get("http://mapa.vemprarua.net/br/") | |
tree = lxml.html.fromstring(r.content) | |
nomes_favor = tree.xpath('//div[@class="panel panel-primary lista-parlamentares favor"]//b/text()') |
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
library(tidyverse) | |
library(tidymodels) | |
library(timetk) | |
library(modeltime) | |
library(modeltime.resample) | |
library(modeltime.ensemble) | |
# Building models and calibrating in test set | |
splits <- time_series_split(m750, assess = "2 years", cumulative = TRUE) |