Cycle for Locally Imported Data

  1. On your computer, create a text file named demoLocalCars.txt with the following content:
    make,model,quantity
    ford,fusion,232323
    toyota,camry,454545
  2. In SAS Visual Analytics Administrator, set up the suggested display.
  3. If the Public LASR Analytic Server is running, right-click on it, and select Stop.
    CAUTION:
    Stopping the server unloads all tables.
    Stop the server only at a time when other users will not be disrupted.
  4. Import a local file.
    1. From the drop-down list in the banner, select Report Designer to switch to SAS Visual Analytics Designer.
      switch to designer
    2. On the Data tab, click Select a data source.
      select a data source
    3. In the Import Data panel, click Text Files.
      text files link
    4. Select the demoLocalCars.txt file that you created in step 1. Click Open.
    5. In the Import Text File window, click OK.
      import text file
      Note: When the import is completed, the Data tab is populated.
  5. Review the results.
    1. To switch back to SAS Visual Analytics Administrator, click Manage Environment in the banner.
      switch to the administrator
    2. On the LASR Servers tab, select Public LASR Analytic Server, right-click, and select Get Status. Notice that the server is running. The import request triggered the server to start.
      Tip
      The associated LASR library, Visual Analytics Public LASR, is preconfigured to autostart on demand for requests to import, load, or reload data.
    3. On the LASR Tables tab, click the refresh icon. Notice that the new table DEMOLOCALCARS is listed.
    4. On the LASR Tables tab, make sure that all check boxes are selected, and then click the get status icon. Notice that any tables that participate in reload-on-start are available again.
      Tip
      The associated LASR library, Visual Analytics Public LASR, is preconfigured to support reload-on-start.
    Here is a depiction of the results:
    after import local
  6. Examine reload behavior.
    1. On the LASR Tables tab, right-click DEMOLOCALCARS, and select Unload.
      import local unload
    2. Right-click DEMOLOCALCARS again. Notice that you cannot reload the table manually.
      import local no reload
    3. On the LASR Servers tab, stop, and then start the Public LASR Analytic Server.
    4. On the LASR Tables tab, right-click DEMOLOCALCARS, and select Get Status.
      import local after server restart
    5. Notice that the table reloaded after you restarted the server.
      reloaded
      Note: If a lot of tables are being reloaded, there might be a slight delay.
Tip
For more information, see "Importing Local Data Files" in the 7.1, 7.2, or 7.3 edition of the SAS Visual Analytics: User's Guide.