James McKinney

Results 548 comments of James McKinney

I just remembered: have a look at https://github.com/johnkerl/miller, which I think has the feature you're looking for (`miller put`).

Just a note that csvsql can be used to query and modify CSV files, see e.g. #1243

csvmedkit has a csvsed command, which might not be too much effort to add as an option to csvgrep: https://github.com/dannguyen/csvmedkit/blob/main/csvmedkit/utils/csvsed.py Can also look at https://pypi.org/project/csvsed/ That said, see comments in...

No other interest expressed since 2014, so closing.

@shobhit747 Thank you for #1287. Could you instead create a package similar to https://agate-excel.readthedocs.io/en/latest/ ? We typically add all conversion logic as Agate plugins, rather than directly to CSV Kit.

Thanks, @StephenAbbott. Maybe a process change to consider is to record suggestions and discussion in this issue tracker, rather than in an internal tracker. Open standards typically record everything in...

@timgdavies `YYYY` is `xsd:gYear` and `YYYY-MM` is `xsd:gYearMonth`. `xsd` also has `gDay`, `gMonth`, and `gMonthDay`. Adding `01` is a bad idea as it can be confused with the actual first...

FYI, OCDS creates custom metaschema here (for Draft 4, but hopefully similar for newer JSON Schema versions): https://github.com/open-contracting/standard-maintenance-scripts/blob/bec9acc09c1e5f1ca84b420ab8bbcf8a5cbed79d/tests/test_json.py#L247

Re: local implementations mapping the codelist to local requirements, is there something we can learn from other standards? I know countries have mapped SIC, etc. that we might learn from.