Comments (4)
Thanks for the help everyone! I figured it might have something to do with the 2020 census, but wasn't sure.
from censusxy.
hi @zmoore152 - thanks for the bug report! This is probably a change in their API - we'll look into it.
from censusxy.
@zmoore152 Thanks for providing a reproducible example, extremely helpful.
As you are probably aware, the Census Bureau is updating everything with the completion of the 2020 census, including their geocoding API. Because of this, I expect the benchmarks and vintages may be unstable. I assume vintage = "910"
worked yesterday, but it no longer appears valid:
> cxy_benchmarks()
id benchmarkName benchmarkDescription isDefault
2 4 Public_AR_Current Public Address Ranges - Current Benchmark FALSE
21 8 Public_AR_TAB2020 Public Address Ranges - TAB2020 Benchmark FALSE
3 9 Public_AR_Census2010 Public Address Ranges - Census 2010 Benchmark FALSE
4 2020 Public_AR_Census2020 Public Address Ranges - Census 2020 Benchmark FALSE
> cxy_vintages('Public_AR_Census2020')
id vintageName vintageDescription isDefault
2 2020 Census2020_Census2020 Census 2020 Vintage - Census 2020 Benchmark TRUE
21 2010 Census2010_Census2020 Census 2010 Vintage - Census 2020 Benchmark FALSE
Running your example with the vintage changed seems to work and append GEOIDs.
> output <- cxy_geocode(sample_df, street="street_name", state = "state_name", zip="zip_code", city = "city_name",
return = "geographies", benchmark = "Public_AR_Census2020", vintage = "Census2020_Census2020", output = "full")
> output
street_name state_name zip_code city_name cxy_address cxy_status cxy_quality
1 241 Cary Ave IL 60035 Highland Park 241 Cary Ave, Highland Park, IL, 60035 Match Exact
cxy_matched_address cxy_tiger_line_id cxy_tiger_side cxy_lon cxy_lat cxy_state_id cxy_county_id
1 241 CARY AVE, HIGHLAND PARK, IL, 60035 119652033 R -87.77744 42.16783 17 97
cxy_tract_id cxy_block_id
1 865600 2011
I'd advise caution using the 2020 benchmarks at the moment, and keep in mind that the geographies are changing (https://www.census.gov/geographies/mapping-files/time-series/geo/tiger-line-file.html) and won't be fully available until end of Feburary. I don't know precisely how this affects GEOIDs, but definitely worth considering.
@chris-prener We may need to change the default behavior for benchmark/vintages, but probably shouldn't do so without waiting for 2020 data to be widely adopted.
from censusxy.
Thanks for the detailed response @bransonf - I like the idea of waiting a bit to see how this works out. Let's leave this open as a reminder, but I'll change the tag from bug
from censusxy.
Related Issues (20)
- Travis CI needs migration
- Malformed Response Data HOT 4
- General feedback
- Integrate Github Actions HOT 2
- Non-ASCII characters lead to NA geocoding records HOT 3
- tie HOT 7
- GitHub Actions HOT 2
- Issue with address batch n > 3 HOT 6
- CRAN issue HOT 4
- vignette typo
- code coverage not working HOT 1
- Update Docs/News with Parallel Support HOT 1
- Inconsistent geocoding (singe vs batch) HOT 1
- Cannot Get Sample to Run HOT 5
- Track + cache progress HOT 3
- cxy_geocode arguments returning "object ___ not found" for existing objects HOT 4
- Parallel processing fails on macOS HOT 7
- `_pkgdown.yml` issue
- Missing Pieces Warning HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from censusxy.