Skip to content

Commit

Permalink
Add turmas 2024.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tacianosilva authored Jul 17, 2024
1 parent c4390af commit 4bff642
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dados/baixar_dados.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,18 @@ def download_turmas():
urllib.request.urlretrieve(url, file_name)
print('.................')


print("Download do CSV das Turmas 2024.1 do CERES/UFRN ...!")
file_name = "csv/turmas-2024.1.csv"
if os.path.exists(file_name):
print("Arquivo " + file_name + " já existe!")
else:
url = 'https://dados.ufrn.br/dataset/1938623d-fb07-41a4-a55a-1691f7c3b8b5/resource/8e69d071-c93b-40fd-8ae0' \
'-5a6ff5052a44/download/turmas-2024-1.csv'
urllib.request.urlretrieve(url, file_name)
print('.................')


def download_docentes():
print("Download do CSV dos Docentes do CERES/UFRN ...!")
file_name = "csv/docentes.csv"
Expand Down

0 comments on commit 4bff642

Please sign in to comment.