Package: tap-clinicaltrials
tap-clinicaltrialsSinger tap forClinicalTrials.govstudy records data.Built with theMeltano Tap SDKfor Singer Taps.Capabilitiescatalogstatediscoveraboutstream-mapsSettingsSettingRequiredDefaultDescriptionstart_dateFalseNoneEarliest datetime to get data fromconditionFalseNoneConditions or disease querysponsorFalseNoneSponsor querystream_mapsFalseNoneConfig object for stream maps capability. For more information check outStream Maps.stream_map_configFalseNoneUser-defined config values to be used within map expressions.flattening_enabledFalseNone'True' to enable schema flattening and automatically expand nested properties.flattening_max_depthFalseNoneThe max depth to flatten schemas.batch_configFalseNoneA full list of supported settings and capabilities is available by running:tap-clinicaltrials --aboutInstallationIn a Meltano projectUsing a direct referencemeltanoaddextractortap-clinicaltrials--from-ref=https://raw.githubusercontent.com/edgarrmondragon/tap-clinicaltrials/main/plugin.yamlRequires Meltano v3.1.0+.From MeltanoHubNot yet available.From PyPIpython3-mpipinstall--upgradetap-clinicaltrialsWithpipxpipxinstalltap-clinicaltrialsFrom sourcegitclonehttps://github.com/edgarrmondragon/tap-clinicaltrialscdtap-clinicaltrials
python3-mpipinstall.UsageYou can easily runtap-clinicaltrialsby itself or in a pipeline usingMeltano.With MeltanoClone the repo andcdinto it:gitclonehttps://github.com/edgarrmondragon/tap-clinicaltrials.gitcdtap-clinicaltrialsMake sure you haveMeltanoinstalledInstall all pluginsmeltanoinstallConfigure thetap-clinicaltrialstap:meltanoconfigtap-clinicaltrialssetstart_date'2020-01-01'meltanoconfigtap-clinicaltrialssetcondition'COVID-19'meltanoconfigtap-clinicaltrialssetsponsor'Pfizer'Run a testtap-clinicaltrialsextractionmeltanoruntap-clinicaltrialstarget-duckdbThat's it! Check the data$duckdboutput/warehouse.duckdb-c"select nctid, lastUpdateSubmitDate, protocolsection->>'$.identificationModule.briefTitle' from clinicaltrials.studies limit 5;┌─────────────┬──────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────┐│    nctid    │ lastupdatesubmitdate │                      (protocolsection ->> '$.identificationModule.briefTitle')                      ││   varchar   │       varchar        │                                               varchar                                               │├─────────────┼──────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤│ NCT06156215 │ 2023-12-06           │ PROmotion of COVID-19 BOOSTer VA(X)Ccination in the Emergency Department - PROBOOSTVAXED            ││ NCT05487040 │ 2023-12-06           │ A Study to Measure the Amount of Study Medicine in Blood in Adult Participants With COVID-19 and …  ││ NCT06163677 │ 2023-12-07           │ A Study to Look at the Health Outcomes of Patients With COVID-19 and Influenza.                     ││ NCT05032976 │ 2023-12-07           │ Korea Comirnaty Post-marketing Surveillance                                                         ││ NCT05596734 │ 2023-12-11           │ A Study to Evaluate the Safety, Tolerability, and Immunogenicity of Combined Modified RNA Vaccine…  │└─────────────┴──────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────┘Executing the Tap Directlytap-clinicaltrials--version
tap-clinicaltrials--help
tap-clinicaltrials--configCONFIG--discover>./catalog.jsonDeveloper ResourcesInitialize your Development EnvironmentpipxinstallhatchCreate and Run TestsRun integration tests:hatchruntests:integrationYou can also test thetap-tap-clinicaltrialsCLI interface directly:hatchrunsync:console----about--format=jsonSDK Dev GuideSee thedev guidefor more instructions on how to use the SDK to
develop your own taps and targets.