Closed jakesherman closed 6 years ago
Recently removed this function and @ssuffian is taking a look at updating the docs. What you should do instead now is first get the lat/long coordinates for the centroid of the ZCTA of interest (eeweather.zcta_to_lat_long
), then use the eeweather.match_lat_long
function directly.
Note: you will need pyproj
and shapely
installed for this to work.
@philngo Awesome, that's exactly the workaround that I was doing! Thank you.
zcta = '70001'
result = eeweather.match_lat_long(*eeweather.zcta_to_lat_long(zcta))
result
Released version 0.2.2
which updates the docs and adds requests
, pyproj
, and shapely
to the required packages.
Good morning,
I tried using the
match_zcta
function ineeweather
(I'm using Python 3.6.5):Which resulted in:
It looks like the
match_zcta
function, while referenced in the documentation, doesn't actually exist in the package/the master branch. I'm wondering ifmatch_zcta
exists in another branch, and maybe hasn't been merged into master yet?