Skip to contents

District data functions

cd_available()
List available congressional district data
cd_boundaries()
Congressional district boundaries
cd_dotmap()
Congressional district dot maps
cd_hexmap()
Congressional district hex maps
cd_names()
Descriptive congressional district names
cd_normal_vote()
Presidential normal vote
cd_mapbox()
Interactive CD map with cities in background

Bundled datasets

Years and Congresses

year_to_cong()
Convert year of Congress to Congressional session
cong_to_firstyear()
Convert Congressional session to the start year of that Congress

Interactive map setup

mapbox-setup
Set up Mapbox for interactive district maps

Alternative function names