-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
57 lines (41 loc) · 2.22 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# eclds
This package provides functions to scrape the [Minnesota Early Childhood Longitudinal Data System website](http://eclds.mn.gov/).
## Installation
You can install the development version of eclds with:
```{r eval = FALSE}
remotes::install_github("hktosun/eclds")
```
## Usage
You need a Selenium Docker image running to use this package. Please follow the instructions provided [here](https://docs.ropensci.org/RSelenium/articles/docker.html).
To scrape the individuals sections in the website, use the function `scrape_eclds()`. The code below scrapes the tables in the Early Care and Education subsection in Kindergarten section for each county between the school years 2018 and 2020.
```{r eval = FALSE}
eclds::scrape_eclds(section = 'kindergarten',
subsection = 'early care and education',
geography = 'county',
year = 2018:2020)
```
Available sections and subsections are as follows:
| Section | Subsection | Available Geographies |
| --------------------- | --------------------------------- | ---------------------------------- |
| `"birth to prek"` | `"early childhood screening"` | `"county"`, `"school district"` |
| `"birth to prek"` | `"scholarships"` | `"county"`, `"school district"` |
| `"birth to prek"` | `"parent aware"` | `"county"` |
| `"kindergarten"` | `"early care and education"` | `"county"`, `"school district"` |
| `"kindergarten"` | `"child demographics"` | `"county"`, `"school district"` |
| `"kindergarten"` | `"family demographics"` | `"county"`, `"school district"` |
| `"kindergarten"` | `"economic and food assistance"` | `"county"`, `"school district"` |
| `"kindergarten"` | `"kindergarten attendance"` | `"county"`, `"school district"` |
| `"kindergarten"` | `"kindergarten summary"` | `"county"`, `"school district"` |
The available years are from `2014` to `2020` as of October 7, 2021.