Quickly bring data to impure
From Impure Wiki
There are three main ways to bring data to an impure space:
using an api module
Using an API is a quick and easy way to obtain rich structured information from the Internet. For instance, you can load links from a Delicious account, all the images -with their tags- from a Flickr set, the historical market behavior of a company, the occurrences of some word on Twitter during the last month, etc.
There are many api modules in Impure and we plan on keep adding new ones all the time.
using generator modules
Some operators, which you can find under the tag "generator", build complex data structures from simple parameters. For example, you can choose the number of nodes and relations, and instantly get a random network, or a NumberList filled with a given number. Generators are useful to perform quick tests.
loading data from files
Perhaps you have tables in excel files or csv format, or some text you want to analyze. You can load the file into Impure using FileLoader module, and then decode it using the appropriate method. For example, if you loaded a text file in .csv format you can pass the output of FileLoader to the decoder csvToTable.
For the specific (and very common) case of .csv, you could also use csvLoader, which does everything in a single step.
CSV is a text format that encodes tables: Database and spreadsheet software, such as Excel, can usually export .csv with ease.
This code snippet will let you quickly access many files that may be useful for testing purposes.


