census icon indicating copy to clipboard operation
census copied to clipboard

Census Metadata function?

Open mr-fuller opened this issue 6 years ago • 3 comments

Is there any interest in a function to retrieve metadata (variables, names, labels, concepts, etc.) for datasets? I've started working on something here.

mr-fuller avatar Jun 04 '18 20:06 mr-fuller

Hey, I know it's been over two years since you posted this issue, but as a complete census newbie, I would really like something like this! I ended up having to scour the internet in order to get this metadata. I'd love to both integrate your code into this package and also update the README examples so they use your new functionality instead of hard-coding them.

toolness avatar Aug 31 '20 13:08 toolness

Have you looked at cenpy(https://cenpy-devs.github.io/cenpy/api.html)? It looks like that package might have some of these exploratory features. For ACS data, it looks like they have a way to return a dataframe of variables: https://cenpy-devs.github.io/cenpy/generated/cenpy.products.ACS.variables.html#cenpy.products.ACS.variables

mr-fuller avatar Aug 31 '20 15:08 mr-fuller

Oh thanks, I'll take a look at this! Although from a very brief glance it looks like cenpy is dependent on pandas, which I'm not using for my current project. Hmmmm.

toolness avatar Aug 31 '20 16:08 toolness