Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/QuantGov/regcensus-api-client-R
R client to pull RegCensus data
https://github.com/QuantGov/regcensus-api-client-R
Last synced: 1 day ago
JSON representation
R client to pull RegCensus data
- Host: GitHub
- URL: https://github.com/QuantGov/regcensus-api-client-R
- Owner: QuantGov
- License: other
- Created: 2019-09-04T16:45:25.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-03T19:52:26.000Z (almost 3 years ago)
- Last Synced: 2024-08-03T06:03:07.664Z (3 months ago)
- Language: R
- Homepage:
- Size: 4.7 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# regcensusAPIThe goal of regcensusAPI is to provide an easy way for researchers to access regulatory restrictions data from the Mercatus Center at George Mason University, RegData. RegData quantifies the volume of regulatory restrictions in various jurisdictions, from national to subnational. For more information about RegData, visit [QuantGov](https://www.quantgov.org) website.
## Installation
You can install the released version of regcensusAPI from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("regcensusAPI")
```And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("QuantGov/regcensus-api-client-R")
```
## UsageUsing the API is easy. First, you would want to find out what topics are covered.
```{r example}
library(regcensusAPI)
## basic example code
get_topics()
```All data are further grouped into *series*. The function **get_series_period()** returns the list of data series, the jurisdictions, and the periods for which data are available.
```{r}
get_series_period()
```For more information on how to fully utilize regcensusAPI to obtain regulatory restrictions data, check out the vignette accompanying the package.