How to Import Data Into Stagraph

Published on Tuesday, March 27, 2018 by Milos Gregor


Data import is an important part of work in Stagraph. Using the features in this section, you can import data from different sources into memory and work with them. In the How to - Data Import section have been added new chapters.

As the Stagraph runs on top of R Terminal, you can use the sample data from the environment (data_attach). You can also access the data that you’ve prepared instantly through the built-in R Console.

Another option offered by Stagraph is the built-in Spreadsheet editor, which allows you to prepare input data directly in the program. For this purpose, the data_create function is used. The advantage of this feature is that your data is automatically stored in the project file. However, this is useful only if you want to work with small dataset. In the case of larger datasets, it is appropriate to separate the input data from the project file.

If the current capabilities of Stagraph interface does not fit your needs, you can also use (in addition to the built-in options) data import options through the scripts in R language. For this purpose the data_custom functions is used. Thanks to this feature, you are not limited only to supported data sources and you can use the full power of R language.

Excel files are frequently used for data storing and sharing. Excel spreadsheet is a relatively simple interface and very widespread among users. Therefore, support for data import from Excel files is directly integrated into Stagraph interface (data_excel).

Another interesting source of data in Stagraph is the spatial data from R package named maps. You can use this package directly in the Stagraph interface (data_map, data_cities). Data from this group is often used as a base layers for analyzing and visualizing other spatial data.

Documentation for Data Import functions is not complete. Remaining is to describe the import of data from CSV and DBF files and finally the data import from databases via ODBC Connection. This part of the functionality will be gradually complemented in future versions, mostly according to the requests of the users.

If you want to see in next version support for your favorite type of data, do not hesitate to contact me. Also keep in mind that data import is not limited in Stagraph 2.0. So you can use the individual features in the Free version without limitation to the type of size of the data.

If you like the article, please share it. And do not forget to try the free version.