Skip to content

Instantly share code, notes, and snippets.

View AugustoCL's full-sized avatar
Always learning and contributing

Augusto C. Leal AugustoCL

Always learning and contributing
View GitHub Profile
AugustoCL / render_toc.R
Created May 30, 2021 02:48
Generate Manual Table of Contents in (R)Markdown Documents. Credits: gadenbuie
View render_toc.R
#' Render Table of Contents
#' A simple function to extract headers from an RMarkdown or Markdown document
#' and build a table of contents. Returns a markdown list with links to the
#' headers using
#' [pandoc header identifiers](
#' WARNING: This function only works with hash-tag headers.
#' Because this function returns only the markdown list, the header for the
AugustoCL / AugustoCL - TrabalhoFinal - Faxinadados.R
Last active July 18, 2021 04:28
Trabalho final de Limpeza de Dados realizado para conclusão do curso de Faxina de Dados.
View AugustoCL - TrabalhoFinal - Faxinadados.R
# Imports -----------------------------------------------------------------
# Função webscraping ------------------------------------------------------
scrapy_consumo_eletr_ano <- function(ano){
AugustoCL / coef_curv_anbima_scheduler.R
Created May 23, 2021 17:38
Criando Base de Dados via Webscraping da ANBIMA [Webscraping] [R]
View coef_curv_anbima_scheduler.R
# imports -----------------------------------------------------------------
# set inputs and workdir --------------------------------------------------------------
wkdir <- "~/dev_R/schedule_R/"
name_db <- "hist_coef_pre_ipca.csv"