Reference for get_data_layer
Get access to reading and writing data. This is part of the reference section.
Arc
Buffer
Data
get_data_layer
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Open access to the file system, network, or browser to read or write data. Returns None if not supported or no permissions.
Snippet
Load the CSV file called example.csv.
records = sketch.get_data_layer().get_csv('example.csv')
Examples
Availability
Available for all platforms. On static and app renderers, will interface with local file system using operating system's conventions. For web, it will use network and browser.