https://github.com/jmandel/registry
https://github.com/jmandel/registry
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jmandel/registry
- Owner: jmandel
- Created: 2023-04-19T23:10:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-06T19:27:49.000Z (about 2 years ago)
- Last Synced: 2025-03-20T00:52:57.729Z (3 months ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FHIR Registry Mirror
```
./setup.sh
deno run --allow-all mkval.ts cruft/ > allvs.ndjson
```
## Some analysis examplescreate table allvs as (SELECT * FROM read_ndjson_auto('allvs.ndjson', maximum_object_size = 99999999, sample_size=9999999));
create table vs as (
select r1.* from allvs r1 join (
select max(id) as id, url, max(version) as version from allvs r2 group by url) r2
on r1.url=r2.url and r1.version=r2.version
);select system, count(*) from (select unnest(r.compose.include).system from vs) group by s order by 2 desc limit 100;