Skip to content

HTTP failure 414 (the request is too large) even with entrez_search(use_history = TRUE) #163

@SchmidtPaul

Description

@SchmidtPaul

Hi there, great package!
Maybe I am missing something here, but is my request really too large to run even with the use_history = TRUE argument in place as suggested in the tutorial?

query_part1 <- "(adolescent[Title/Abstract] OR adolescents[Title/Abstract] OR apprentice[Title/Abstract] OR apprentices[Title/Abstract] OR child[Title/Abstract] OR children[Title/Abstract] OR pupil[Title/Abstract] OR pupils[Title/Abstract] OR student[Title/Abstract] OR students[Title/Abstract] OR teenager[Title/Abstract] OR teenagers[Title/Abstract] OR trainee[Title/Abstract] OR trainees[Title/Abstract] OR young adult[Title/Abstract] OR young adults[Title/Abstract] OR young people[Title/Abstract] OR young worker[Title/Abstract] OR young workers[Title/Abstract] OR younger population[Title/Abstract] OR youth[Title/Abstract])"
query_part2 <- "((ankle[Title/Abstract] OR ankles[Title/Abstract] OR arm[Title/Abstract] OR arms[Title/Abstract] OR back[Title/Abstract] OR body[Title/Abstract] OR bone[Title/Abstract] OR bones[Title/Abstract] OR capsule[Title/Abstract] OR capsules[Title/Abstract] OR elbow[Title/Abstract] OR elbows[Title/Abstract] OR extremity[Title/Abstract] OR extremities[Title/Abstract] OR finger[Title/Abstract] OR fingers[Title/Abstract] OR foot[Title/Abstract] OR feet[Title/Abstract] OR forearm[Title/Abstract] OR forearms[Title/Abstract] OR hand[Title/Abstract] OR hands[Title/Abstract] OR hip[Title/Abstract] OR hips[Title/Abstract] OR invertebral disc[Title/Abstract] OR invertebral discs[Title/Abstract] OR joint[Title/Abstract] OR joints[Title/Abstract] OR knee[Title/Abstract] OR knees[Title/Abstract] OR leg[Title/Abstract] OR legs[Title/Abstract] OR ligament[Title/Abstract] OR ligaments[Title/Abstract] OR limb[Title/Abstract] OR limbs[Title/Abstract] OR muscle[Title/Abstract] OR muscles[Title/Abstract] OR neck[Title/Abstract] OR pelvis[Title/Abstract] OR pelvises[Title/Abstract] OR shoulder[Title/Abstract] OR shoulders[Title/Abstract] OR sinew[Title/Abstract] OR sinews[Title/Abstract] OR skull[Title/Abstract] OR skulls[Title/Abstract] OR spinal disc[Title/Abstract] OR spinal discs[Title/Abstract] OR spine[Title/Abstract] OR spines[Title/Abstract] OR tendon[Title/Abstract] OR tendons[Title/Abstract] OR thigh[Title/Abstract] OR thighs[Title/Abstract] OR toe[Title/Abstract] OR toes[Title/Abstract] OR trunk[Title/Abstract] OR trunks[Title/Abstract] OR vertebral disc[Title/Abstract] OR vertebral discs[Title/Abstract]) AND (ache[Title/Abstract] OR aches[Title/Abstract] OR contorsion[Title/Abstract] OR cramp[Title/Abstract] OR cramps[Title/Abstract] OR damage[Title/Abstract] OR damages[Title/Abstract] OR deformity[Title/Abstract] OR deformities[Title/Abstract] OR degeneration[Title/Abstract] OR degenerations[Title/Abstract] OR degenerative change[Title/Abstract] OR degenerative changes[Title/Abstract] OR dislocation[Title/Abstract] OR dislocations[Title/Abstract] OR disorder[Title/Abstract] OR disorders[Title/Abstract] OR distorsion[Title/Abstract] OR distorsions[Title/Abstract] OR fracture[Title/Abstract] OR fractures[Title/Abstract] OR inflammation[Title/Abstract] OR inflammations[Title/Abstract] OR injury[Title/Abstract] OR injuries[Title/Abstract] OR luxation[Title/Abstract] OR luxations[Title/Abstract] OR musculoskeletal[Title/Abstract] OR pain[Title/Abstract] OR pains[Title/Abstract] OR posture[Title/Abstract] OR postures[Title/Abstract] OR prolapse[Title/Abstract] OR prolapses[Title/Abstract] OR rupture[Title/Abstract] OR ruptures[Title/Abstract] OR sprain[Title/Abstract] OR sprains[Title/Abstract] OR spraining[Title/Abstract] OR symptom[Title/Abstract] OR symptoms[Title/Abstract] OR syndrome[Title/Abstract] OR syndromes[Title/Abstract] OR tension[Title/Abstract] OR tensions[Title/Abstract] OR torsion[Title/Abstract] OR torsions[Title/Abstract] OR twist[Title/Abstract] OR twists[Title/Abstract]))"
query_part3 <- "(frequency[Title/Abstract] OR frequencys[Title/Abstract] OR occurence[Title/Abstract] OR prevalence[Title/Abstract] OR prevalences[Title/Abstract] OR rate[Title/Abstract] OR rates[Title/Abstract] OR risk[Title/Abstract] OR risks[Title/Abstract])"

long_query <- paste(query_part1, 
                    query_part2, 
                    query_part3, 
                    sep = " AND ")

rentrez::entrez_search(db = "pubmed", 
                       term = long_query,
                       use_history = TRUE)
#> Error in entrez_check(response): HTTP failure 414, the request is too large. For large requests, try using web history as described in the rentrez tutorial

Created on 2021-01-19 by the reprex package (v0.3.0.9001)

Maybe I am just running into issue #46 here? If so, do you have a suggestion of how to circumvent this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions