edgi-govdata-archiving / ECHO-Sunrise

An Environmental Enforcement Watch partnership with Sunrise Boston hubs
https://colab.research.google.com/github/edgi-govdata-archiving/ECHO-Sunrise/blob/main/ECHO-Sunrise.ipynb
GNU General Public License v3.0
1 stars 2 forks source link

Show all regulated facilities + those with inspections, penalties/enforcements, violations, emissions depending on selected data set #31

Open ericnost opened 4 years ago

ericnost commented 4 years ago

Something like this in the code after the if statement in the final block:

    thisdisprogdata=this_district_data.loc[this_district_data[program.echo_type+"_FLAG"] == "Y"]
    for pos,row in thisdisprogdata.iterrows():
        cd = folium.CircleMarker(
          location = [row["FAC_LAT"], row["FAC_LONG"]],
          radius = 3,
          fill_color = "grey",
          weight = 1,
          color = "grey",
          fill_opacity = 1
    ).add_to(mp)
ericnost commented 4 years ago
Screen Shot 2020-07-14 at 2 51 39 PM
ericnost commented 4 years ago

Would want to make the other facilities smaller and more opaque.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in seven days if no further activity occurs. If it should not be closed, please comment! Thank you for your contributions.