You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67-1Lines changed: 67 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,70 @@ This directory contains spatial data files and the scripts that produce them. Th
6
6
|:----------|:-----|:-------|:-----------|
7
7
|[`neighborcounties.csv`](https://github.com/btskinner/spatial/blob/master/data/neighborcounties.csv)[[Raw]](https://raw.githubusercontent.com/btskinner/spatial/master/data/neighborcounties.csv)|`neighborcounties.py`|Python 3.5|Long data file that lists all adjacent counties (2010)|
8
8
|[`county_centers.csv`](https://github.com/btskinner/spatial/blob/master/data/county_centers.csv)[[Raw]](https://raw.githubusercontent.com/btskinner/spatial/master/data/county_centers.csv)|`popcenters.r`|R 3.2.3|Geocoordinates for geographic and population-weighted centers in all counties (2000 and 2010)|
9
-
|[`nearest_hei.csv`](https://github.com/btskinner/spatial/blob/master/data/nearest_hei.csv)[[Raw]](https://raw.githubusercontent.com/btskinner/spatial/master/data/nearest_hei.csv)|`nearesthei.r`|R 3.2.3|Nearest higher education institution (HEI) to every county, by sector (2010-2014)|
9
+
|[`nearest_hei.csv`](https://github.com/btskinner/spatial/blob/master/data/nearest_hei.csv)[[Raw]](https://raw.githubusercontent.com/btskinner/spatial/master/data/nearest_hei.csv)|`nearesthei.r`|R 3.2.3|Nearest higher education institution (HEI) to every county, by sector (2010-2014)|
This long file links every county in the United States (as of the 2010 Census) with all of its contiguous counties. Five-digit county-level [FIPS](https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards) codes are used to identify the counties. These codes uniquely identify each county and can be used to link with other datasets such as the [American Community Survey](https://www.census.gov/programs-surveys/acs/).
16
+
17
+
##### COLUMNS
18
+
19
+
| Name | Description|
20
+
|:-----|:-----------|
21
+
|`orgfips`|Origin county FIPS code|
22
+
|`adjfips`|Adjacent county FIPS code|
23
+
|`instate`|==1 if adjacent county is in the same state|
This wide file gives the latitude and longitude for the spatial and population centers of every county in the United States for the Census years 2000 and 2010. These coordinates are given by the U.S. Census; this file simply collects them in a single easy-to-use file. Five-digit county-level [FIPS](https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards) codes are used to identify the counties.
28
+
29
+
##### COLUMNS
30
+
31
+
| Name | Description|
32
+
|:-----|:-----------|
33
+
|`fips`|Unique county-level five-digit FIPS code|
34
+
|`clon00`|Longitude of spatial center, 2000|
35
+
|`clat00`|Latitude of spatial center, 2000|
36
+
|`clon10`|Longitude of spatial center, 2010|
37
+
|`clat10`|Latitude of spatial center, 2010|
38
+
|`pclon00`|Longitude of population-weighted center, 2000|
39
+
|`pclat00`|Latitude of population-weighted center, 2000|
40
+
|`pclon10`|Longitude of population-weighted center, 2010|
41
+
|`pclat10`|Latitude of population-weighted center, 2010|
This long file gives the nearest highest education institution (HEI) to each county population center across a number of years and higher education sectors. Each row gives the nearest institution's [IPEDS](http://nces.ed.gov/ipeds/datacenter/Default.aspx) unique `unitid`, the distance in miles, and indicators for the year and subset of included schools (*e.g.,* nearest public four-year, nearest public two-year, etc.).
46
+
47
+
##### COLUMNS
48
+
49
+
| Name | Description|
50
+
|:-----|:-----------|
51
+
|`fips`|Unique county-level five-digit FIPS code|
52
+
|`unitid`|Unique IPEDS identifier for nearest HEI|
53
+
|`miles`|Distance in miles between county population center and nearest HEI|
54
+
|`limit_instate`|==1 if sample of schools is limited to those in same state as county|
55
+
|`year`|Year of match|
56
+
|`any`|==1 if any type of HEI is included in sample|
57
+
|`limit_fouryr`|==1 if only four-year HEIs are included in sample|
58
+
|`limit_twoyr`|==1 if only two-year HEIS are included in sample|
59
+
|`limit_pub`|==1 if only public HEIs are included in sample|
60
+
|`limit_pnp`|==1 if only private, non-profit HEIs are included in sample|
61
+
|`limit_pfp`|==1 if only private, for-profit HEIs are inluced in sample|
62
+
63
+
##### EXAMPLES
64
+
65
+
*Absolute nearest HEI (regardless of sector and crossing state lines)*
66
+
67
+
* Rows in which `limit_instate == 0` and `any == 1`
68
+
69
+
*Nearest instate public four-year HEI*
70
+
71
+
* Rows in which `limit_instate == 1` and `limit_fouryr == 1` and `limit_pub == 1`
0 commit comments