Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this tutorial, you will learn how to set up a data export. Each export si defined in the export object.

...

NameTitleData type
customer_idCustomer IDinteger
neighborhood_codeNeighborhood codestring
cityCustomer's citystring
addressCustomer's addressstring
sexCustomer's sexstring
age_groupCustomer's age groupstring
latAddress latitudelatitude
lngAddress longitudelongitude

...

Code Block
titleBusiness overview view excerpt
      ...
            "mapOptions": {
                "center": {
                    "lat": 49.203,
                    "lng": 16.606
                },
                "zoom": 12,
                "tileLayer": "mapbox"
            },
            "exports": [
                {
                    "export": "/rest/projects/$projectId/md/exports?name=customers_export"
                }
            ]
        },
        "accessInfo": {
      ...

Before we perform the export, we have to apply the required filter first.

Applied histogram filter on the transaction_size property

Image Modified

Also, don't forget to that the map window should contain all available areas.

The export is available after clicking the Menu button in the top left corner (Image Modified), and selecting Export.

Image Modified

Select Transactions export and hit Export.

The selected columns, as well as metric results will be present in the transactions_export.csv file. You can see that the metric results do not hold much informational value, because the metrics are not computable for each transaction (e.g. turnover value of one transaction equals to the transaction_value property).

Stores export

This is the stores dataset we've added in the previous tutorial.

IdentifierTitleData type
store_id
Store IDinteger
addressStore addressstring
store_typeStore typestring

opening_hours

Opening hours

string
monthly_rentMonthly rentinteger
contactContact emailstring
linkStore web linkstring
parkingDesignated parking lotstring
employeesNumber of employeesinteger
latStore's latitudelatitude
lngStore's longitudelongitude

...

Code Block
titleBusiness overview view excerpt
      ...
            "mapOptions": {
                "center": {
                    "lat": 49.203,
                    "lng": 16.606
                },
                "zoom": 12,
                "tileLayer": "mapbox"
            },
            "exports": [
                {
                    "export": "/rest/projects/$projectId/md/exports?name=customers_export"
                },
                {
                    "export": "/rest/projects/$projectId/md/exports?name=stores_export"
                }
            ]
        },
        "accessInfo": {
      ...

Push the object using pushProject. Then repeat the export process, but select Stores export and hit Export.

...