Skip to content

Commit

Permalink
refactor (streets): reorganization of streets example
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed Sep 5, 2023
1 parent fb77f7a commit cd5f24a
Show file tree
Hide file tree
Showing 11 changed files with 2,667 additions and 9 deletions.
11 changes: 11 additions & 0 deletions data/food-intake/computed/commodity-profile-10-top.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FCID_CODE,FCID_DESC,CGN,CG_SUBGROUP,POPULARITY,INTAKE_SUM,INTAKE_AVG,INTAKE_BW_AVG,RECIPES
600350000,"Soybean, oil",6,6,27489,1142733.6296256,22.45012140479754818176460187422644,0.44968167109552857507711046934244907,6006
3600223000,"Milk, nonfat solids",36,36,27442,1790450.5997501,11.27352898425314351557433304579427,0.30122634602682550576442365208192974,6084
3600222000,"Milk, fat",36,36,27416,858672.3479341,5.64459252009295109878190674651433,0.13764494416793910191095363620228368,5634
3600224000,"Milk, water",36,36,27416,12172993.1624183,80.03230197315139282450476985687142,2.36267524331825497531245685432705899,5641
2003128000,"Cottonseed, oil",20,20C,27368,74054.8114869,1.47232119541333651437432899916498,0.03041353598471708616644797009821464,4908
1500402000,"Wheat, flour",15,15,27341,4054031.1890924,31.91044983700450237712918358993734,0.66264038208033988224552123673687856,5005
9500362000,"Sugarcane, sugar",95,O,27326,989041.8315383,19.63436427328727691421991940126655,0.40894795029119170984455958549222798,4436
101052000,"Beet, sugar",1,1A,27322,749318.8270441,14.98038438712714914034386245501799,0.31611475212353258696521391443422631,4397
1500124000,"Corn, field, syrup",15,15,27256,2814649.1598176,19.59229825643424450616381620620767,0.38120762014684917966601930934630832,3163
2001319000,"Rapeseed, oil",20,20A,26864,65645.1671205,1.38781774424430773133760385615526,0.02622878181360859178452886831145219,4068
Binary file added network/sql-vs-cypher/er-estradas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"* _Trajeto_: cada registro da tabela Trajeto identifica um trajeto, que consiste em uma sequência ordenada de estradas que ligam duas cidades (cidade_origem e cidade_destino), por exemplo, um trajeto entre Salvador e Curitiba, pode envolver uma sequência de estradas: Salvador-Belo Horizonte, Belo Horizonte-São Paulo e São Paulo-Curitiba. Um Trajeto agrega um conjunto de Segmentos.\n",
"* _Segmento_: associa estradas a trajetos. O campo ordem é um campo numérico sequencial (iniciado de 1 para cada trajeto) usado para ordenar os segmentos (estradas) dentro de um trajeto.\n",
"\n",
"![UML](../estradas/uml-estradas.png) ![Relacional](../estradas/relacional-estradas.png)\n",
"![UML](uml-estradas.png) ![Relacional](relacional-estradas.png)\n",
"\n",
"## Exercício 1\n",
"\n",
Expand Down Expand Up @@ -304,6 +304,19 @@
"name": "SQL",
"nbconverter_exporter": "",
"version": ""
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": false,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": false,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
Binary file added network/sql-vs-cypher/relacional-estradas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"source": [
"# Acesso ao banco em Java\n",
"\n",
"Considere a rotina em\n",
"Esta rotina conecta o banco de estradas, carrega a tabela de Cidades e lista."
"Esta rotina conecta o banco de camonhos, carrega a tabela de Tarefas e mostra."
]
},
{
Expand Down Expand Up @@ -141,7 +140,20 @@
"mimetype": "",
"name": "Java",
"nbconverter_exporter": "",
"version": "1.8.0_181"
"version": "1.8.0_152-release"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": false,
"sideBar": false,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": false,
"toc_window_display": false
}
},
"nbformat": 4,
Expand Down
Binary file added network/sql-vs-cypher/uml-estradas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
Loading

0 comments on commit cd5f24a

Please sign in to comment.