Home Dataplay Download And Load Merge Data Map Basics Intake An... Map Correlation Netw... Timelapse Data Gifs Retrieve Acs Data Pivot Table Sync Data Food Cook Food Fish Food Science History Dad History History Life DateIdeas Life Words

Don't Look! I'm changing!

URL Copied

Audio Version

Thank you for using Dataplay.

This package was made to help with data handling

To get started, simply install your the dataplay package, import one of it's modules!

 Thank You For Using Dataplay.
 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.

Import Modules

Import the installed module into your code:

Now you could do something like:

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_TotalB19001_002E_Total_Less_than_$10,000B19001_003E_Total_$10,000_to_$14,999B19001_004E_Total_$15,000_to_$19,999B19001_005E_Total_$20,000_to_$24,999B19001_006E_Total_$25,000_to_$29,999B19001_007E_Total_$30,000_to_$34,999B19001_008E_Total_$35,000_to_$39,999B19001_009E_Total_$40,000_to_$44,999B19001_010E_Total_$45,000_to_$49,999B19001_011E_Total_$50,000_to_$59,999B19001_012E_Total_$60,000_to_$74,999B19001_013E_Total_$75,000_to_$99,999B19001_014E_Total_$100,000_to_$124,999B19001_015E_Total_$125,000_to_$149,999B19001_016E_Total_$150,000_to_$199,999B19001_017E_Total_$200,000_or_morestatecountytract
NAME
Census Tract 2710.0215102097394971101199765361491681066644502724510271002
Census Tract 2604.02113414629738041914975811705716263116024510260402

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)

Image Alt Text

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:

Make this Notebook Trusted to load map: File -> Trust Notebook

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.