Skip to content

cidacslab/dictionary-npd

Repository files navigation

Dictionary App

Debug Mode:

$ pip install Flask
$ python -m pip install pymongo
$ pip install pandas
$ export FLASK_ENV=development
$ flask run

Important Sources

Apache Web Service

$ sudo yum -y install httpd (Exemple for Red Hat Enterprise or CentOS Linux)
$ yum install mod_wsgi

Packages

Requirements

Run

$ pip install -r requirements.txt (Python 2)
$ pip3 install -r requirements.txt (Python 3)

The App

Home

alt text

Initial application form where the variables that compose the dictionary are released.

  • Dictionary's Name
  • Variable's name
  • Type [Byte, Date, Integer, Long, String, Double]
  • Description: Description about the variable
  • Internal Comments: Internal comments that will not be in the dictionary of the researchers.
  • External Comments: External comments that will be in the dictionary of the researchers.
  • Add: add variable to dictionary (save cache)
  • Submit: Create the dictionary and add dictionary variables to the database.
Note: First you must click on add, then click on submit.

alt text

The byte type also has the fields:

  • Category's Name
  • Original Value
  • Standardized Value
Note: Does not need to include 0-Nulo and 99-Inconsistência values

List of Dictionaries

alt text

Lists all dictionaries included in the database.

  • Create: Creates a csv file used for the base standardization process.
  • Edit: Opened a list of variables contained in the dictionary for viewing and possible editing.
  • Delete: Deletes the dictionary from the database.

List of Variables

alt text

Shows a preview of the variables contained in the dictionary.

  • Edit: Editing a variable
  • Delete: Deletes a variable from the database.
  • Print Dictionary CSV: Create a dictionary version for the researcher in CSV.
  • Print Dictionary PDF: Create a dictionary version for the researcher in PDF.
  • Add Variable: Adds a new variable in the dictionary.

Exemple of Dictionary in PDF

alt text

Exemple the App

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published