Skip to content
项目

关于

在 R 中将美国人口普查局的边界数据和属性数据载入为可供 'tidyverse' 和 'sf' 使用的数据框

数据与分析

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

tidycensus

R build status CRAN Badge CRAN Downloads

tidycensus is an R package that allows users to interface with the US Census Bureau's decennial Census and five-year American Community APIs and return tidyverse-ready data frames, optionally with simple feature geometry included. Install from CRAN with the following command:

install.packages("tidycensus")

For the latest updates, install from GitHub:

remotes::install_github("walkerke/tidycensus")

To learn more about the package, please visit the package documentation at https://walker-data.com/tidycensus/ or read the book Analyzing US Census Data: Methods, Maps, and Models in R at https://walker-data.com/census-r/.

A free Census API key is required to use tidycensus. Obtain one at https://api.census.gov/data/key_signup.html and register it with:

library(tidycensus)
census_api_key("YOUR API KEY GOES HERE", install = TRUE)

Note: This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau.

探索相关项目

加载中…