Thank you for using Dataplay.
This package was made to help with data handling
Retrieve, Data from a variety of formats
A Special function for retrieving ACS data
Merge data using optional crosswalks
Visualize Data for the interactive web
To get started, simply install your the dataplay package, import one of it's modules!
âInstall The Package
âImport Modules
âGetting Help
âExamples
ââExample 1
ââExample 2
ââExample 3
ââExample 4
Install the Package
Dataplay is on PyPI so you can install the scripts as a python library.
Getting Help
You can get information on the package, modules, and methods by using the help command.
Here we look at the package's modules:
Help on package dataplay: NAME dataplay PACKAGE CONTENTS corr geoms intaker merge timelapse_data_gifs FILE c:\users\charl\documents\github\karpatic\src\ipynb\dataplay\dataplay\__init__.py
Examples
Example 1
Define our download parameters.
Then download the Baltimore City ACS data using the imported VitalSigns library.
B19001_001E_Total | B19001_002E_Total_Less_than_$10,000 | B19001_003E_Total_$10,000_to_$14,999 | B19001_004E_Total_$15,000_to_$19,999 | B19001_005E_Total_$20,000_to_$24,999 | B19001_006E_Total_$25,000_to_$29,999 | B19001_007E_Total_$30,000_to_$34,999 | B19001_008E_Total_$35,000_to_$39,999 | B19001_009E_Total_$40,000_to_$44,999 | B19001_010E_Total_$45,000_to_$49,999 | B19001_011E_Total_$50,000_to_$59,999 | B19001_012E_Total_$60,000_to_$74,999 | B19001_013E_Total_$75,000_to_$99,999 | B19001_014E_Total_$100,000_to_$124,999 | B19001_015E_Total_$125,000_to_$149,999 | B19001_016E_Total_$150,000_to_$199,999 | B19001_017E_Total_$200,000_or_more | state | county | tract | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NAME | ||||||||||||||||||||
Census Tract 2710.02 | 1510 | 209 | 73 | 94 | 97 | 110 | 119 | 97 | 65 | 36 | 149 | 168 | 106 | 66 | 44 | 50 | 27 | 24 | 510 | 271002 |
Census Tract 2604.02 | 1134 | 146 | 29 | 73 | 80 | 41 | 91 | 49 | 75 | 81 | 170 | 57 | 162 | 63 | 11 | 6 | 0 | 24 | 510 | 260402 |
Example 2
Here we import and display a geospatial dataset with special intake requirements.
Example 3
Now in this example we will load in a bunch of coorinates
And get the number of points in each of our corresponding polygons (from above)
Example 4
What were to happen if I wanted to create a interactive click map with the label of polygon on each point?
Well, we just run the reverse operation!
And then we can visualize it like:
These interactive visualizations can be exported to html using a tool found later in this document.
Its how I made this page!
If you like what you see, there is more in the package you will just have to explore.