This script processes the database of http://participatorio.juventude.gov.br/ website to filter public informations and write it on XML files that will be available for download. On Group's XML file is written the information about all the groups, for example: title, description, members and posts. On User's XML file is written the information about all the users, for example: name, friends and posts. The structures of these XML files are described on the files: user_xml_structure.xml and group_xml_structure.xml.
Select Git revision
opendata
-
-
- Open in your IDE
- Download source code
Forked from
Participatorio / opendata
13 commits behind the upstream repository.
Bruno Nocera Zanette authored
This commit modifies the support functions for each version (xml and json)
into a class definition. This change was made to simplify the code.
For example, there is no need to pass the database and output file
as arguments anymore.
Also, it was implemented a function to update the indentation every time a
tag is opened or closed, so that there is no need to specify the indentation
every time a write tag functions is called.
Signed-off-by:
Bruno Nocera Zanette <brunonzanette@gmail.com>
Name | Last commit | Last update |
---|---|---|
doc | ||
lib | ||
.gitignore | ||
.placeholder | ||
README | ||
opendata_json_version.py | ||
opendata_xml_version.py |