Skip to content

Instantly share code, notes, and snippets.

View bernardoduarte's full-sized avatar

Bernardo da Eira Duarte bernardoduarte

View GitHub Profile
@bernardoduarte
bernardoduarte / Dockerfile
Created March 27, 2023 18:07 — forked from katylava/Dockerfile
docker-compose with Django and ipdb
FROM python:3.5.1
MAINTAINER Katy Lavallee <katylava@gmail.com>
RUN mkdir -p /dockeripdb/
ENTRYPOINT ["/usr/local/bin/python"]
WORKDIR /dockeripdb/
ENV PYTHONPATH /dockeripdb/
ENV DJANGO_SETTINGS_MODULE dockeripdb.settings
@bernardoduarte
bernardoduarte / api_quotas_fundos.R
Created June 15, 2023 13:17 — forked from sillasgonzaga/api_quotas_fundos.R
API para baixar quotas de fundos
library(httr)
library(magrittr)
library(xml2)
library(rvest)
url_raw <- "http://dados.cvm.gov.br/dados/FI/DOC/INF_DIARIO/DADOS/"
output_file <- "fundos/api/informe_diario.csv"
csv_links <- httr::GET(url_raw) %>%
httr::content("text") %>%