PSLmodels / ParamTools

Library for parameter processing and validation with a focus on computational modeling projects
https://paramtools.dev
MIT License
19 stars 14 forks source link

Improve documentation example #120

Closed hdoupe closed 3 years ago

hdoupe commented 3 years ago

I've been thinking a lot about good examples for ParamTools. Here are a couple things on my mind:

My dilemma: Should I use a super simple example like the pandas one or should I add some context to give the example a more practical feel like my simple tax calculator example?

I'm worried that non-tax modeling folks will be as confused as I am when I'm trying to understand the supposedly simple toy example in the x-array docs.

jdebacker commented 3 years ago

@hdoupe I like the simple example. I agree that requiring domain-specific knowledge maybe a hurdle.

And perhaps with your simple example to work from, other projects and show similar examples of how parameters are handled in their specific contexts.

hdoupe commented 3 years ago

Thanks @jdebacker. The more I look at this 10 minutes to pandas doc, the more I think this could be a good model for ParamTools. The examples they use are good. The way they introduce the concepts is nice too: