Description Usage Arguments Value See Also Examples
This function allows you to create a table to view any school district and its neighbors with selected data from EdBuild's master datafile.
1 2 3 | sd_neighbor(data_year = "2019", school_district = NULL, table_vars =
c('Name', 'Enrollment', 'Poverty Rate', 'Percent Nonwhite', 'Local Revenue PP',
'State Revenue PP', 'Type'))
|
data_year |
Four digit year of master data to pull in. Options include 2013- 2019. Defaults to 2019. |
school_district |
Seven digit NCESID of the school district. Default is
NULL. To find the NCESID for any school district, use
|
table_vars |
Variable or list of variables to include in the table. Use tables_vars = “options” to print a list of the variables. Defaults to: Name; Enrollment; Poverty Rate; Percent Nonwhite; Local Revenue, per Pupil; State Revenue, per Pupil; Type |
A dataframe where each observation is a school district.
sd_neighbor_xlsx
, sd_table_xlsx
,
master_codebook
, masterpull
neigh_diff
1 2 3 4 5 6 7 8 | table <- sd_neighbor(
data_year = "2019",
school_district = "0622710",
table_vars = c("Name",
"Percent Nonwhite",
"Median Household Income",
"State Revenue PP")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.