Skip to content

[Distant future] Built-in field reference #6

@beechnut

Description

@beechnut

I'm imagining adding a CensusApi::FieldFinder module that lets people search for fields with a certain string in them, for example:

@finder = CensusApi::FieldFinder.new
@finder.find_table 'population'

This would return all the tables whose names include 'population', and their symbols for use in a text-based Client#find:

[
  {name: 'Institutionalized Population', code: 'PC02', symbol: :institutionalized_pop},
  {name: 'Noninstitutionalized Population', code: 'PC07', symbol: :noninstitutionalized_pop},
  ...
]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions