Giter Site home page Giter Site logo

blog's Introduction

ubi-center

Generates data for UBI Center's Plan Explorer tool and visualizations.

Installation

Install with:

pip install git+git://github.com/UBICenter/ubi-center.git

Questions

Contact the maintainer, Max Ghenis ([email protected]).

Citation

You may cite the source of your analysis as "ubicenter release #.#.#, author's calculations."

blog's People

Contributors

cotrag avatar fedderw avatar kvanalebeek avatar maxghenis avatar mgilbert1 avatar ngpsu22 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

blog's Issues

Black-white wealth gap post

For MLK Day or sometime in February (Black history month)

Similar to my June 2020 piece but with (a) new SCF data, (b) plotly, (c) potentially other wealth metrics (like K-S test's D statistic??)

See also #53 on the income side (I think income and wealth would be worth separating). cc @ngpsu22

Consider fastpages instead of jupyter-book

The jupyter-book lead developer mentioned in an issue that:

I think we have to walk a balance between re-creating all of the features of a blogging platform (since that's not technically in-scope of Jupyter Book) if it adds a lot of maintenance burden

I'm also concerned about how often jupyter-book requires rebuilding, at least when testing so far. This won't be sustainable with many blog posts.

This prompted me to look for alternatives that are geared more at blogging, but still with jupyter-book features like hiding/showing code, Jupyter input, interactive visualizations, etc. I found http://fastpages.fast.ai, which looks like a pretty great option. The only potentially missing feature is plotly support, and it also worries me a bit that there isn't much in the https://github.com/fastai/fastpages repo. But worth trying out I think.

Restyle PWD benefit chart

  • White background
  • Blue for disability (maybe dark blue for the "any" program line)
  • Gray for no disability
  • Remove y axis title
  • Change legend text
  • Change axis to go to 100% (since it's close already)

image

Update plotly in blog posts for Colab

Running https://colab.research.google.com/github/UBICenter/blog/blob/master/jb/20200707/adult_child_ubi.ipynb shows this error. I think it's because it's running an old version of plotly, so Colab notebooks should update plotly. cc @ngpsu22

ValueError                                Traceback (most recent call last)
<ipython-input-1-c893d11fa016> in <module>()
    201            title='Overall poverty rate and spending on cash transfer programs',
    202            xaxis_title='Spending in billions',
--> 203            yaxis_title='SPM poverty rate')

4 frames
/usr/local/lib/python3.6/dist-packages/plotly/basedatatypes.py in _raise_on_invalid_property_error(self, *args)
   3664                     full_obj_name=full_obj_name,
   3665                     invalid_str=invalid_str,
-> 3666                     prop_descriptions=self._prop_descriptions,
   3667                 )
   3668             )

ValueError: Invalid property specified for object of type plotly.graph_objs.Layout: 'legend_title_text'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.