Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

3 lines (2 sloc) 0.488 kb
for i in data/xls2csv/ano-*.csv; do psql -c "COPY raw_indicadores_ssprs_municipioss (municipio,homicidio,furtos_veiculo,furtos,roubos,latrocionio,roubo_veiculo,extorsao,extorsao_sequesto,estelionato,delitos_corrupcao,posse_entorpecente,delitos_municoes,trafico_entorpecente,ano) FROM '$PWD/$i' CSV DELIMITER ',' HEADER" ondeacontece; done
psql -c "COPY raw_ibge_censo (cidade, descricao, unidade, valor) FROM '$PWD/script/scraper/cidades_full.csv' CSV DELIMITER ';' HEADER" ondeacontece;
Jump to Line
Something went wrong with that request. Please try again.