program-- / fipio

An R :package: for lightweight FIPS code information retrieval
https://fipio.justinsingh.me
Other
14 stars 1 forks source link

fipio in AOI #12

Closed mikejohnson51 closed 2 years ago

mikejohnson51 commented 2 years ago

Hi @program--,

As I am trying to work fipio into AOI, it would be very helpful if you could export .metadata_fips.

Do you have any opposition to this?

Mike

mikejohnson51 commented 2 years ago

and I guess .geometry_fips. Effectively I need to be able to access:

cbind(fipio:::.metadata_fips, fipio:::.geometry_fips) - or a resource I am missing in fipio?

program-- commented 2 years ago

@mikejohnson51 currently the workflow to get from an AOI (assuming using a county & state names) would be

fipio::as_fips(county = ..., state = ...) |> 
    fipio::fips_metadata(geometry = TRUE)

But I can make fipio::fips_metadata() return the internal table if no argument is passed if that is helpful!

mikejohnson51 commented 2 years ago

Nice! I think that will ge that I want...

mikejohnson51 commented 2 years ago

With the last commit I think this is resolved v1.0