1.0.2 • Published 8 years ago

civil-services-city-council-ny-new-york v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

Civil Services Logo

Civil Services is a collection of tools that make it possible for citizens to be a part of what is happening in their Local, State & Federal Governments.

City Council Data for New York, NY

GitHub license GitHub contributors

New York, NY

Councilor Margaret Chin Councilor Rosie Mendez Councilor Corey Johnson Councilor Daniel Garodnick Councilor Ben Kallos Councilor Helen Rosenthal Councilor Mark Levine Councilor Melissa  Mark-Viverito Councilor Bill Perkins Councilor Ydanis Rodriguez Councilor Andrew Cohen Councilor Andy King Councilor James Vacca Councilor Fernando Cabrera Deputy Leader Ritchie Torres Councilor Vanessa Gibson Councilor Rafael Salamanca Councilor Annabel Palma Councilor Paul Vallone Councilor Peter Koo Councilor Julissa  Ferreras-Copeland Councilor Costa Constantinides Councilor Barry Grodenchik Councilor Rory Lancman Councilor Daniel Dromm Majority Leader Jimmy Van Bramer Councilor Daneek Miller Councilor Ruben Wills Councilor Karen Koslowitz Councilor Elizabeth Crowley Councilor Donovan Richards Councilor Eric Ulrich Councilor Stephen Levin Councilor Antonio Reynoso Councilor Laurie Cumbo Councilor Robert Cornegy Councilor Rafael Espinal Councilor Carlos Menchaca Councilor Brad Lander Councilor Mathieu Eugene Councilor Darlene Mealy Councilor Inez Barron Councilor Vincent Gentile Councilor David Greenfield Councilor Jumaane Williams Councilor Alan Maisel Councilor Mark Treyger Councilor Chaim Deutsch Deputy Majority Leader Deborah Rose Minority Leader Steven Matteo Councilor Joe Borelli Mayor Bill De Blasio District Attorney Cyrus Vance

New York City Links

Introduction

This project provides the City Council Data, Headshots & City Photo for New York, NY ( GeoJSON, JSON, XML, CSV, SQL & YML formats ). See Provided Data below for full list of data in this project.

Completed Tasks

We have completed the following Data Collection for New York, NY. Watch Project to be notified of updates.

  • City Council Data Created
  • City Photo Created
  • Councilor Headshots Created
  • Images Uploaded to CDN
  • GeoJSON File Created
  • Published NPM Package

Developers

Requirements

To run converters, you will need to run the following:

brew install imagemagick
brew install graphicsmagick

Rebuild Data & Assets

The ./city-council folder is generated by the contents in the ./source folder. See the ./source/README.md file for requirements for the core assets.

To update the data & assets in the city-council folder, you will need to run the following commands:

npm install
npm run -s build

Provided Data

There are currently about 40 pieces of data for each councilor. You can see the full details below.

ParameterTypeDescription
state_codestringTwo Letter State Abbreviation
state_namestringName of State
state_slugstringName of State converted to lowercase letters and spaces replaced with dashes
city_namestringName of City
city_slugstringName of City converted to lowercase letters and spaces replaced with dashes
city_populationstringPopulation of City
city_background_urlstringCreative Commons Image you can use for City
city_government_urlstringOfficial Website of City
city_council_urlstringCity Council Official Website
city_council_council_calendar_urlstringCity Council Calendar Website
city_council_legislation_urlstringCity Council Legislation Website
city_council_committees_urlstringCity Council Committee Website
city_latitudefloatGPS Latitude of City
city_longitudefloatGPS Longitude of City
districtmixedDistrict of Councilor ( not always available )
at_largeenumCouncilor is considered At-Large
namestringFull Name of Councilor
name_slugstringFull Name of Councilor converted to lowercase letters and spaces replaced with dashes
first_namestringFirst Name of Councilor
last_namestringLast Name of Councilor
genderenumGender of Councilor
ethnicityenumEthnicity of Councilor
date_of_birthdateDate of Birth of Councilor
entered_officedateDate Councilor First Entered Office
term_enddateDate Councilor's Current Term Ends
titleenumTitle of Councilor
partyenumPolitical Party of Councilor
emailstringWork Email Address of Councilor
phonestringWork Phone Number of Councilor
address_completestringWork Mailing Address of Councilor
address_numbernumberMailing Address Number
address_prefixstringMailing Address Prefix
address_streetstringMailing Address Street
address_sec_unit_typestringMailing Address Section Unit Type
address_sec_unit_numnumberMailing Address Section Unit Number
address_citystringMailing Address City
address_statestringMailing Address State
address_zipcodestringMailing Address zipcode
address_typestringMailing Address Type
twitter_handlestringTwitter Handle of Councilor ( not always available )
twitter_urlstringTwitter URL of Councilor ( not always available )
facebook_urlstringFacebook URL of Councilor ( not always available )
photo_urlstringPhoto URL of Councilor ( not always available )
  • city_background_url is available in the following sizes: 640x360, 960x540, 1280x720 & 1920x1080 ( defaults to 1280x720 )
  • city_photo_url is available in the following sizes: 64x64, 128x128, 256x256, 512x512 & 1024x1024 ( defaults to 512x512 )