npm

Need private packages and team management tools?Check out npm Orgs. »

civil-services-city-council-ny-new-york

1.0.2 • Public • Published

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

Expand City Councilor Pictures

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.

Expand Details
Parameter Type Description
state_code string Two Letter State Abbreviation
state_name string Name of State
state_slug string Name of State converted to lowercase letters and spaces replaced with dashes
city_name string Name of City
city_slug string Name of City converted to lowercase letters and spaces replaced with dashes
city_population string Population of City
city_background_url string Creative Commons Image you can use for City
city_government_url string Official Website of City
city_council_url string City Council Official Website
city_council_council_calendar_url string City Council Calendar Website
city_council_legislation_url string City Council Legislation Website
city_council_committees_url string City Council Committee Website
city_latitude float GPS Latitude of City
city_longitude float GPS Longitude of City
district mixed District of Councilor ( not always available )
at_large enum Councilor is considered At-Large
name string Full Name of Councilor
name_slug string Full Name of Councilor converted to lowercase letters and spaces replaced with dashes
first_name string First Name of Councilor
last_name string Last Name of Councilor
gender enum Gender of Councilor
ethnicity enum Ethnicity of Councilor
date_of_birth date Date of Birth of Councilor
entered_office date Date Councilor First Entered Office
term_end date Date Councilor's Current Term Ends
title enum Title of Councilor
party enum Political Party of Councilor
email string Work Email Address of Councilor
phone string Work Phone Number of Councilor
address_complete string Work Mailing Address of Councilor
address_number number Mailing Address Number
address_prefix string Mailing Address Prefix
address_street string Mailing Address Street
address_sec_unit_type string Mailing Address Section Unit Type
address_sec_unit_num number Mailing Address Section Unit Number
address_city string Mailing Address City
address_state string Mailing Address State
address_zipcode string Mailing Address zipcode
address_type string Mailing Address Type
twitter_handle string Twitter Handle of Councilor ( not always available )
twitter_url string Twitter URL of Councilor ( not always available )
facebook_url string Facebook URL of Councilor ( not always available )
photo_url string Photo 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 )

install

npm i civil-services-city-council-ny-new-york

Downloadsweekly downloads

1

version

1.0.2

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability