{
  "id": 21533,
  "title": "Ruta_SAK",
  "url": "/competitions/grupo-bimbo-inventory-demand/discussion/21533",
  "author_name": "",
  "post_date": "2016-06-09T10:02:55.787Z",
  "votes": null,
  "comment_count": 9,
  "views": 2665,
  "content": "<p>In the description it says &quot;Ruta_SAK &#8212; Route ID (Several routes = Sales Depot)&quot;. I'm not familiar with the terminology. Could someone explain what the text inside the parenthesis means?</p>",
  "messages": [
    {
      "id": "123037",
      "postDate": "06/09/2016 10:02:55",
      "content": "<p>In the description it says &quot;Ruta_SAK &#8212; Route ID (Several routes = Sales Depot)&quot;. I'm not familiar with the terminology. Could someone explain what the text inside the parenthesis means?</p>",
      "rawMarkdown": "In the description it says \"Ruta_SAK — Route ID (Several routes = Sales Depot)\". I'm not familiar with the terminology. Could someone explain what the text inside the parenthesis means?",
      "votes": null
    },
    {
      "id": "123038",
      "postDate": "06/09/2016 10:07:07",
      "content": "<p>I am thinking that the route ID links all the clients demand on that route. Several routes = Sales Depot is something I too can't understand</p>",
      "rawMarkdown": "I am thinking that the route ID links all the clients demand on that route. Several routes = Sales Depot is something I too can't understand",
      "votes": null
    },
    {
      "id": "123163",
      "postDate": "06/10/2016 02:30:58",
      "content": "<p>Hi all,</p>\n\n<p>I believe Several routes = Sales Depot means that 1 Sales Depot serves multiple routes. This seems to be what I observed from the data</p>\n\n<p>Ian</p>",
      "rawMarkdown": "Hi all,\r\n\r\nI believe Several routes = Sales Depot means that 1 Sales Depot serves multiple routes. This seems to be what I observed from the data\r\n\r\nIan",
      "votes": null
    },
    {
      "id": "123196",
      "postDate": "06/10/2016 08:09:10",
      "content": "<pre><code>    &quot;select distinct Agencia_ID, Semana,  Ruta_SAK, Cliente_ID, Producto_ID from train&quot;\n\n## 74179558 5\n\n    &quot;select distinct Agencia_ID, Semana,  Cliente_ID, Producto_ID from train&quot;\n\n## 74048757 4\n</code></pre>",
      "rawMarkdown": "\"select distinct Agencia_ID, Semana,  Ruta_SAK, Cliente_ID, Producto_ID from train\"\r\n    \r\n    ## 74179558 5\r\n    \r\n        \"select distinct Agencia_ID, Semana,  Cliente_ID, Producto_ID from train\"\r\n    \r\n    ## 74048757 4",
      "votes": null
    },
    {
      "id": "123838",
      "postDate": "06/14/2016 05:27:55",
      "content": "<p>On this matter. </p>\n\n<p>Validated\n- One depot serves multiple routes\n- One route can be served by multiple depots \n- One route delivers to multiple retailers \n- One retailer can be  delivered-to by multiple routes</p>\n\n<p>To be corroborated\n- There are depots that specialize in some products or brands\n- Only some routes deliver products from certain brands</p>\n\n<p>Having fun!</p>",
      "rawMarkdown": "On this matter. \r\n\r\nValidated\r\n- One depot serves multiple routes\r\n- One route can be served by multiple depots \r\n- One route delivers to multiple retailers \r\n- One retailer can be  delivered-to by multiple routes\r\n\r\nTo be corroborated\r\n- There are depots that specialize in some products or brands\r\n- Only some routes deliver products from certain brands\r\n\r\nHaving fun!",
      "votes": null
    },
    {
      "id": "124015",
      "postDate": "06/15/2016 00:44:54",
      "content": "<p>Do you know how is Sales Channel in this context?</p>",
      "rawMarkdown": "Do you know how is Sales Channel in this context?",
      "votes": null
    },
    {
      "id": "124027",
      "postDate": "06/15/2016 03:17:33",
      "content": "<p>Not yet. I'll take a look at that tonight</p>",
      "rawMarkdown": "Not yet. I'll take a look at that tonight",
      "votes": null
    },
    {
      "id": "124917",
      "postDate": "06/23/2016 13:04:07",
      "content": "<p>Is it categorical feature or numerical feature ? I still don't get? can you please explain in very lemon term?</p>",
      "rawMarkdown": "Is it categorical feature or numerical feature ? I still don't get? can you please explain in very lemon term?",
      "votes": null
    },
    {
      "id": "126179",
      "postDate": "07/07/2016 00:20:58",
      "content": "<p>@RamRasia, categorical. \nRuta_SAK = delivery route\nAgencia = Product Warehouse</p>",
      "rawMarkdown": "RamRasia, categorical. \r\nRuta_SAK = delivery route\r\nAgencia = Product Warehouse",
      "votes": null
    },
    {
      "id": "128170",
      "postDate": "07/18/2016 10:02:43",
      "content": "<p>By means of following HIVE statements i determined the # Clientes served by # Agencias in # Rutas...</p>\n\n<p>CREATE TABLE BimboAgenciaRutaCliente AS SELECT Agencia_ID, Ruta_SAK, Cliente_ID, count(*) AS Trains FROM BimboTrain GROUP BY Agencia_ID, Ruta_SAK, Cliente_ID;</p>\n\n<p>select car.agencias, car.rutas, count(distinct car.Cliente_ID) as clientes from (select Cliente_ID, count(distinct Agencia_ID) as agencias, count(distinct Ruta_SAK) as rutas from BimboAgenciaRutaCliente group by Cliente_ID) car group by car.agencias, car.rutas order by car.agencias, car.rutas;</p>",
      "rawMarkdown": "By means of following HIVE statements i determined the # Clientes served by # Agencias in # Rutas...\r\n\r\nCREATE TABLE BimboAgenciaRutaCliente AS SELECT Agencia_ID, Ruta_SAK, Cliente_ID, count(*) AS Trains FROM BimboTrain GROUP BY Agencia_ID, Ruta_SAK, Cliente_ID;\r\n\r\nselect car.agencias, car.rutas, count(distinct car.Cliente_ID) as clientes from (select Cliente_ID, count(distinct Agencia_ID) as agencias, count(distinct Ruta_SAK) as rutas from BimboAgenciaRutaCliente group by Cliente_ID) car group by car.agencias, car.rutas order by car.agencias, car.rutas;",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 123038,
      "author_name": "ianlokh",
      "author_url": "",
      "post_date": "06/09/2016 10:07:07",
      "content": "<p>I am thinking that the route ID links all the clients demand on that route. Several routes = Sales Depot is something I too can't understand</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 123163,
      "author_name": "ianlokh",
      "author_url": "",
      "post_date": "06/10/2016 02:30:58",
      "content": "<p>Hi all,</p>\n\n<p>I believe Several routes = Sales Depot means that 1 Sales Depot serves multiple routes. This seems to be what I observed from the data</p>\n\n<p>Ian</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 123196,
      "author_name": "mrooijer",
      "author_url": "",
      "post_date": "06/10/2016 08:09:10",
      "content": "<pre><code>    &quot;select distinct Agencia_ID, Semana,  Ruta_SAK, Cliente_ID, Producto_ID from train&quot;\n\n## 74179558 5\n\n    &quot;select distinct Agencia_ID, Semana,  Cliente_ID, Producto_ID from train&quot;\n\n## 74048757 4\n</code></pre>",
      "votes": null,
      "replies": []
    },
    {
      "id": 123838,
      "author_name": "juanrdz",
      "author_url": "",
      "post_date": "06/14/2016 05:27:55",
      "content": "<p>On this matter. </p>\n\n<p>Validated\n- One depot serves multiple routes\n- One route can be served by multiple depots \n- One route delivers to multiple retailers \n- One retailer can be  delivered-to by multiple routes</p>\n\n<p>To be corroborated\n- There are depots that specialize in some products or brands\n- Only some routes deliver products from certain brands</p>\n\n<p>Having fun!</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 124015,
      "author_name": "caiotrucolo",
      "author_url": "",
      "post_date": "06/15/2016 00:44:54",
      "content": "<p>Do you know how is Sales Channel in this context?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 124027,
      "author_name": "juanrdz",
      "author_url": "",
      "post_date": "06/15/2016 03:17:33",
      "content": "<p>Not yet. I'll take a look at that tonight</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 124917,
      "author_name": "ramrasia",
      "author_url": "",
      "post_date": "06/23/2016 13:04:07",
      "content": "<p>Is it categorical feature or numerical feature ? I still don't get? can you please explain in very lemon term?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 126179,
      "author_name": "juanrdz",
      "author_url": "",
      "post_date": "07/07/2016 00:20:58",
      "content": "<p>@RamRasia, categorical. \nRuta_SAK = delivery route\nAgencia = Product Warehouse</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 128170,
      "author_name": "hormiga",
      "author_url": "",
      "post_date": "07/18/2016 10:02:43",
      "content": "<p>By means of following HIVE statements i determined the # Clientes served by # Agencias in # Rutas...</p>\n\n<p>CREATE TABLE BimboAgenciaRutaCliente AS SELECT Agencia_ID, Ruta_SAK, Cliente_ID, count(*) AS Trains FROM BimboTrain GROUP BY Agencia_ID, Ruta_SAK, Cliente_ID;</p>\n\n<p>select car.agencias, car.rutas, count(distinct car.Cliente_ID) as clientes from (select Cliente_ID, count(distinct Agencia_ID) as agencias, count(distinct Ruta_SAK) as rutas from BimboAgenciaRutaCliente group by Cliente_ID) car group by car.agencias, car.rutas order by car.agencias, car.rutas;</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "123037": "In the description it says \"Ruta_SAK — Route ID (Several routes = Sales Depot)\". I'm not familiar with the terminology. Could someone explain what the text inside the parenthesis means?",
    "123038": "I am thinking that the route ID links all the clients demand on that route. Several routes = Sales Depot is something I too can't understand",
    "123163": "Hi all,\r\n\r\nI believe Several routes = Sales Depot means that 1 Sales Depot serves multiple routes. This seems to be what I observed from the data\r\n\r\nIan",
    "123196": "\"select distinct Agencia_ID, Semana,  Ruta_SAK, Cliente_ID, Producto_ID from train\"\r\n    \r\n    ## 74179558 5\r\n    \r\n        \"select distinct Agencia_ID, Semana,  Cliente_ID, Producto_ID from train\"\r\n    \r\n    ## 74048757 4",
    "123838": "On this matter. \r\n\r\nValidated\r\n- One depot serves multiple routes\r\n- One route can be served by multiple depots \r\n- One route delivers to multiple retailers \r\n- One retailer can be  delivered-to by multiple routes\r\n\r\nTo be corroborated\r\n- There are depots that specialize in some products or brands\r\n- Only some routes deliver products from certain brands\r\n\r\nHaving fun!",
    "124015": "Do you know how is Sales Channel in this context?",
    "124027": "Not yet. I'll take a look at that tonight",
    "124917": "Is it categorical feature or numerical feature ? I still don't get? can you please explain in very lemon term?",
    "126179": "RamRasia, categorical. \r\nRuta_SAK = delivery route\r\nAgencia = Product Warehouse",
    "128170": "By means of following HIVE statements i determined the # Clientes served by # Agencias in # Rutas...\r\n\r\nCREATE TABLE BimboAgenciaRutaCliente AS SELECT Agencia_ID, Ruta_SAK, Cliente_ID, count(*) AS Trains FROM BimboTrain GROUP BY Agencia_ID, Ruta_SAK, Cliente_ID;\r\n\r\nselect car.agencias, car.rutas, count(distinct car.Cliente_ID) as clientes from (select Cliente_ID, count(distinct Agencia_ID) as agencias, count(distinct Ruta_SAK) as rutas from BimboAgenciaRutaCliente group by Cliente_ID) car group by car.agencias, car.rutas order by car.agencias, car.rutas;"
  },
  "source": "meta"
}