diff --git a/docs/404.html b/docs/404.html index d0c4211..463a31e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index f7c2216..537950a 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -71,7 +71,7 @@ diff --git a/docs/articles/index.html b/docs/articles/index.html index acf882b..4008b79 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -71,7 +71,7 @@ diff --git a/docs/articles/introducing-educationdata.html b/docs/articles/introducing-educationdata.html index 846de66..cc167d3 100644 --- a/docs/articles/introducing-educationdata.html +++ b/docs/articles/introducing-educationdata.html @@ -31,7 +31,7 @@ @@ -79,13 +79,13 @@ -vignettes/introducing-educationdata.Rmd
introducing-educationdata.Rmd
The get_education_data
function will return a data.frame
from a call to the Education Data API.
-library(educationdata)
+library(educationdata)
get_education_data(level, source, topic, by, filters, add_labels, csv)
where:
list
of grouping parameters for an API call.list
query to filter the results from an API call.This simple example will obtain ‘college-university’ level
data from the ‘ipeds’ source
for the ‘student-faculty-ratio’ topic
:
-library(educationdata)
+library(educationdata)
df <- get_education_data(
level = 'college-university',
@@ -133,7 +133,7 @@
#> 6 100751 2009 1 20
A somewhat more complex example will obtain ‘school’ level
data from the ‘ccd’ source
for the ‘enrollment’ topic
, broken out by
‘race’ and ‘sex’. The API query is subset with filters
for the ‘year’ 2008, ‘grade’ 9 through 12, and a ‘ncessch’ code of 340606000122. Finally, the add_labels
flag will map integer codes to their factor labels (‘race’ and ‘sex’ in this instance).
-library(educationdata)
+library(educationdata)
df <- get_education_data(level = 'schools',
source = 'ccd',
@@ -706,60 +706,84 @@
schools
crdc
-ap-exams
+algebra1
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-exams
+algebra1
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-exams
+algebra1
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-ib-enrollment
+ap-exams
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-ib-enrollment
+ap-exams
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-ib-enrollment
+ap-exams
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+ap-ib-enrollment
+disability, sex
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+ap-ib-enrollment
+lep, sex
+year
+2011, 2013, 2015, 2017
schools
crdc
+ap-ib-enrollment
+race, sex
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
chronic-absenteeism
disability, sex
year
2013, 2015
-
+
schools
crdc
chronic-absenteeism
@@ -767,7 +791,7 @@
year
2013, 2015
-
+
schools
crdc
chronic-absenteeism
@@ -775,37 +799,77 @@
year
2013, 2015
+
+schools
+crdc
+credit-recovery
+NA
+year
+2015, 2017
+
schools
crdc
directory
NA
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
+discipline-instances
+NA
+year
+2015, 2017
+
+
+schools
+crdc
discipline
disability, lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
discipline
disability, race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
discipline
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+dual-enrollment
+disability, sex
+year
+2013, 2015, 2017
+
+
+schools
+crdc
+dual-enrollment
+lep, sex
+year
+2013, 2015, 2017
+
+
+schools
+crdc
+dual-enrollment
+race, sex
+year
+2013, 2015, 2017
schools
@@ -813,7 +877,7 @@
enrollment
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -821,7 +885,7 @@
enrollment
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -829,7 +893,7 @@
enrollment
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -837,7 +901,7 @@
harassment-or-bullying
allegations
year
-2011, 2013, 2015
+2013, 2015, 2017
schools
@@ -845,7 +909,7 @@
harassment-or-bullying
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -853,7 +917,7 @@
harassment-or-bullying
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -861,39 +925,103 @@
harassment-or-bullying
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+math-and-science
+disability, sex
+year
+2011, 2013, 2015, 2018
+
+
+schools
+crdc
+math-and-science
+lep, sex
+year
+2011, 2013, 2015, 2019
+
+
+schools
+crdc
+math-and-science
+race, sex
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+offenses
+NA
+year
+2015, 2017
schools
crdc
+offerings
+NA
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
restraint-and-seclusion
disability, lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
restraint-and-seclusion
disability, race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
restraint-and-seclusion
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
restraint-and-seclusion
instances
year
-2011, 2013, 2015
+2013, 2015, 2017
+
+
+schools
+crdc
+retention
+disability, sex
+year, grade
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+retention
+lep, sex
+year, grade
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+retention
+race, sex
+year, grade
+2011, 2013, 2015, 2017
schools
@@ -901,7 +1029,7 @@
sat-act-participation
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -909,7 +1037,7 @@
sat-act-participation
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -917,17 +1045,57 @@
sat-act-participation
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
+crdc
+school-finance
+NA
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+suspensions-days
+disability, sex
+year
+2015, 2017
+
+
+schools
+crdc
+suspensions-days
+lep, sex
+year
+2015, 2017
+
+
+schools
+crdc
+suspensions-days
+race, sex
+year
+2015, 2017
+
+
+schools
+crdc
+teachers-staff
+NA
+year
+2011, 2013, 2015, 2017
+
+
+schools
edfacts
assessments
NA
year, grade_edfacts
2009–2017
-
+
schools
edfacts
assessments
@@ -935,7 +1103,7 @@
year, grade_edfacts
2009–2017
-
+
schools
edfacts
assessments
@@ -943,7 +1111,7 @@
year, grade_edfacts
2009–2017
-
+
schools
edfacts
assessments
@@ -951,7 +1119,7 @@
year, grade_edfacts
2009–2017
-
+
schools
edfacts
grad-rates
@@ -959,7 +1127,7 @@
year
2010–2017
-
+
schools
nhgis
census-1990
@@ -967,7 +1135,7 @@
year
1986–2016
-
+
schools
nhgis
census-2000
@@ -975,7 +1143,7 @@
year
1986–2016
-
+
schools
nhgis
census-2010
@@ -1176,7 +1344,7 @@
enrollment
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -1184,7 +1352,7 @@
enrollment
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -1192,13 +1360,13 @@
enrollment
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
The following will return a data.frame
across all years and grades:
-library(educationdata)
+library(educationdata)
df <- get_education_data(level = 'schools',
source = 'ccd',
topic = 'enrollment')
diff --git a/docs/articles/introducing-educationdata_files/header-attrs-2.8/header-attrs.js b/docs/articles/introducing-educationdata_files/header-attrs-2.8/header-attrs.js
new file mode 100644
index 0000000..dd57d92
--- /dev/null
+++ b/docs/articles/introducing-educationdata_files/header-attrs-2.8/header-attrs.js
@@ -0,0 +1,12 @@
+// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
+// be compatible with the behavior of Pandoc < 2.8).
+document.addEventListener('DOMContentLoaded', function(e) {
+ var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
+ var i, h, a;
+ for (i = 0; i < hs.length; i++) {
+ h = hs[i];
+ if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
+ a = h.attributes;
+ while (a.length > 0) h.removeAttribute(a[0].name);
+ }
+});
diff --git a/docs/authors.html b/docs/authors.html
index 6c2b0c3..714fbc7 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -71,7 +71,7 @@
-library(educationdata)
+library(educationdata)
df <- get_education_data(level = 'schools',
source = 'ccd',
@@ -684,60 +684,84 @@
schools
crdc
-ap-exams
+algebra1
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-exams
+algebra1
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-exams
+algebra1
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-ib-enrollment
+ap-exams
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-ib-enrollment
+ap-exams
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
-ap-ib-enrollment
+ap-exams
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+ap-ib-enrollment
+disability, sex
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+ap-ib-enrollment
+lep, sex
+year
+2011, 2013, 2015, 2017
schools
crdc
+ap-ib-enrollment
+race, sex
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
chronic-absenteeism
disability, sex
year
2013, 2015
-
+
schools
crdc
chronic-absenteeism
@@ -745,7 +769,7 @@
year
2013, 2015
-
+
schools
crdc
chronic-absenteeism
@@ -753,37 +777,77 @@
year
2013, 2015
+
+schools
+crdc
+credit-recovery
+NA
+year
+2015, 2017
+
schools
crdc
directory
NA
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
crdc
+discipline-instances
+NA
+year
+2015, 2017
+
+
+schools
+crdc
discipline
disability, lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
discipline
disability, race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
discipline
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+dual-enrollment
+disability, sex
+year
+2013, 2015, 2017
+
+
+schools
+crdc
+dual-enrollment
+lep, sex
+year
+2013, 2015, 2017
+
+
+schools
+crdc
+dual-enrollment
+race, sex
+year
+2013, 2015, 2017
schools
@@ -791,7 +855,7 @@
enrollment
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -799,7 +863,7 @@
enrollment
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -807,7 +871,7 @@
enrollment
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -815,7 +879,7 @@
harassment-or-bullying
allegations
year
-2011, 2013, 2015
+2013, 2015, 2017
schools
@@ -823,7 +887,7 @@
harassment-or-bullying
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -831,7 +895,7 @@
harassment-or-bullying
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -839,39 +903,103 @@
harassment-or-bullying
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+math-and-science
+disability, sex
+year
+2011, 2013, 2015, 2018
+
+
+schools
+crdc
+math-and-science
+lep, sex
+year
+2011, 2013, 2015, 2019
+
+
+schools
+crdc
+math-and-science
+race, sex
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+offenses
+NA
+year
+2015, 2017
schools
crdc
+offerings
+NA
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
restraint-and-seclusion
disability, lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
restraint-and-seclusion
disability, race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
restraint-and-seclusion
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
-
+
schools
crdc
restraint-and-seclusion
instances
year
-2011, 2013, 2015
+2013, 2015, 2017
+
+
+schools
+crdc
+retention
+disability, sex
+year, grade
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+retention
+lep, sex
+year, grade
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+retention
+race, sex
+year, grade
+2011, 2013, 2015, 2017
schools
@@ -879,7 +1007,7 @@
sat-act-participation
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -887,7 +1015,7 @@
sat-act-participation
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -895,17 +1023,57 @@
sat-act-participation
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
+crdc
+school-finance
+NA
+year
+2011, 2013, 2015, 2017
+
+
+schools
+crdc
+suspensions-days
+disability, sex
+year
+2015, 2017
+
+
+schools
+crdc
+suspensions-days
+lep, sex
+year
+2015, 2017
+
+
+schools
+crdc
+suspensions-days
+race, sex
+year
+2015, 2017
+
+
+schools
+crdc
+teachers-staff
+NA
+year
+2011, 2013, 2015, 2017
+
+
+schools
edfacts
assessments
NA
year, grade_edfacts
2009–2017
-
+
schools
edfacts
assessments
@@ -913,7 +1081,7 @@
year, grade_edfacts
2009–2017
-
+
schools
edfacts
assessments
@@ -921,7 +1089,7 @@
year, grade_edfacts
2009–2017
-
+
schools
edfacts
assessments
@@ -929,7 +1097,7 @@
year, grade_edfacts
2009–2017
-
+
schools
edfacts
grad-rates
@@ -937,7 +1105,7 @@
year
2010–2017
-
+
schools
nhgis
census-1990
@@ -945,7 +1113,7 @@
year
1986–2016
-
+
schools
nhgis
census-2000
@@ -953,7 +1121,7 @@
year
1986–2016
-
+
schools
nhgis
census-2010
@@ -1154,7 +1322,7 @@
enrollment
disability, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -1162,7 +1330,7 @@
enrollment
lep, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
schools
@@ -1170,13 +1338,13 @@
enrollment
race, sex
year
-2011, 2013, 2015
+2011, 2013, 2015, 2017
The following will return a data.frame
across all years and grades:
-library(educationdata)
+library(educationdata)
df <- get_education_data(level = 'schools',
source = 'ccd',
topic = 'enrollment')
@@ -1266,7 +1434,7 @@
var = "allegations_harass_sex",
by = "fips"
)
Note that only some endpoints have an applicable subtopic
, and this list is slightly different from the syntax of the full data API. Endpoints for subtopics
for the summary endpoint functionality include:
Note that only some endpoints have an applicable subtopic
, and this list is slightly different from the syntax of the full data API. Endpoints with subtopics
for the summary endpoint functionality include:
NEWS.md
staging
option.Fixed issue with applying filters when downloading CCD & EdFacts data from csv, kudos @jknowles for debugging assistance.
Fixed issue with parsing labels from metadata.
Download the full csv file? Defaults to FALSE.
FOR TESTING ONLY. Defaults to FALSE.
Optional 'list' of query values to filter an API call
FOR TESTING ONLY. Defaults to FALSE.